File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -51,18 +51,18 @@ class SubmissionInfo(AuditRecord):
5151 """The name of the submitted file."""
5252 file_extension : str
5353 """The extension of the file received."""
54- submission_method : str = None # type: ignore
54+ submission_method : Optional [ str ] = None # type: ignore
5555 """The method that the file was submitted"""
56- submitting_org : str = None # type: ignore
56+ submitting_org : Optional [ str ] = None # type: ignore
5757 """The organisation who submitted the file."""
58- reporting_period_start : str = None # type: ignore
58+ reporting_period_start : Optional [ str ] = None # type: ignore
5959 """The start of the reporting period the submission relates to."""
60- reporting_period_end : str = None # type: ignore
60+ reporting_period_end : Optional [ str ] = None # type: ignore
6161 """The end of the reporting period the submission relates to."""
62- file_size : int = None # type: ignore
62+ file_size : Optional [ int ] = None # type: ignore
6363 """The size (in bytes) of the file received."""
64- datetime_received : dt .datetime = None # type: ignore
65- """The datetime the SEFT transfer finished ."""
64+ datetime_received : Optional [ dt .datetime ] = None # type: ignore
65+ """The datetime the file was received ."""
6666
6767 @validator ("file_name" )
6868 def _ensure_metadata_extension_removed (cls , filename ): # pylint: disable=no-self-argument
You can’t perform that action at this time.
0 commit comments