@@ -641,11 +641,11 @@ def reset_submission(self):
641641 "service_location" : self .service_loc
642642 }
643643
644- def submit_dataset (self , resubmit = False , submission = None , reset = False ):
644+ def submit_dataset (self , update = False , submission = None , reset = False ):
645645 """Submit your dataset to MDF Connect for processing.
646646
647647 Arguments:
648- resubmit (bool): If you wish to submit this dataset again, set this to ``True``.
648+ update (bool): If you wish to submit this dataset again, set this to ``True``.
649649 If this is the first submission, leave this ``False``.
650650 **Default:** ``False``
651651 submission (dict): If you have assembled the Connect metadata yourself,
@@ -671,15 +671,15 @@ def submit_dataset(self, resubmit=False, submission=None, reset=False):
671671 """
672672 # If submission not supplied, get from stored values
673673 if not submission :
674- # Ensure resubmit set if known resubmission
675- if not resubmit and self .source_id :
674+ # Ensure update set if known resubmission
675+ if not update and self .source_id :
676676 return {
677677 'source_id' : None ,
678678 'success' : False ,
679679 'error' : ("You have already submitted this dataset."
680- " Set resubmit =True to resubmit it" )
680+ " Set update =True to resubmit it" )
681681 }
682- self .update = resubmit
682+ self .update = update
683683 submission = self .get_submission ()
684684
685685 # Check for required data
0 commit comments