Core Models
Models used by core_engine
Models for parametersied pipeline execution - also used by API service
SubmissionInfo
¶
Bases: AuditRecord
Submission metadata
Source code in src/dve/core_engine/models.py
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | |
dataset_id
instance-attribute
¶
The dataset that the submission relates to.
datetime_received = None
class-attribute
instance-attribute
¶
The datetime the file was received.
file_extension
instance-attribute
¶
The extension of the file received.
file_name
instance-attribute
¶
The name of the submitted file.
file_name_with_ext
property
¶
Return file name with extension.
file_size = None
class-attribute
instance-attribute
¶
The size (in bytes) of the file received.
reporting_period_end = None
class-attribute
instance-attribute
¶
The end of the reporting period the submission relates to.
reporting_period_start = None
class-attribute
instance-attribute
¶
The start of the reporting period the submission relates to.
submission_method = None
class-attribute
instance-attribute
¶
The method that the file was submitted
submitting_org = None
class-attribute
instance-attribute
¶
The organisation who submitted the file.
from_metadata_file(submission_id, metadata_uri)
classmethod
¶
Create a submission metadata instance from DVE metadata file.
Source code in src/dve/core_engine/models.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | |