diff --git a/src/maggma/api/resource/submission.py b/src/maggma/api/resource/submission.py index 75c62b056..5158c3db6 100644 --- a/src/maggma/api/resource/submission.py +++ b/src/maggma/api/resource/submission.py @@ -90,7 +90,7 @@ def __init__( self.post_sub_path = post_sub_path self.patch_sub_path = patch_sub_path - new_fields = {} # type: dict + new_fields: dict = {} if self.calculate_submission_id: new_fields["submission_id"] = ( str,