diff --git a/dataproc/api/models/__pycache__/dataset_model.cpython-38.pyc b/dataproc/api/models/__pycache__/dataset_model.cpython-38.pyc index 30123ef12d589c869997cdbb8bc8710353d00b83..a1c781f084a6fd7750090641a9ba13b28d1fcfbd 100644 Binary files a/dataproc/api/models/__pycache__/dataset_model.cpython-38.pyc and b/dataproc/api/models/__pycache__/dataset_model.cpython-38.pyc differ diff --git a/dataproc/api/models/dataset_model.py b/dataproc/api/models/dataset_model.py index 751e3a00b384684a0783516c5836c84a8dc1c4e1..79a1a0caf2060a8fe010c9cf4835bcf099de90b3 100644 --- a/dataproc/api/models/dataset_model.py +++ b/dataproc/api/models/dataset_model.py @@ -2,7 +2,7 @@ from uuid import uuid4 # Third-party imports -from neomodel import StructuredNode, StringProperty, IntegerProperty, UniqueIdProperty, RelationshipTo +from neomodel import StructuredNode, StringProperty, IntegerProperty, UniqueIdProperty, RelationshipTo, DateProperty # Models imports from api.models.dpstep_model import DPStep @@ -41,15 +41,15 @@ class Dataset(StructuredNode): return { 'dataset_node_properties': { - 'uuid': self.uuid, - 'fileTemplateName': self.fileTemplateName, - 'userUuid': self.userUuid, - 'crystalUuid': self.crystalUuid, - 'currentPath': self.currentPath, - 'generationPath': self.generationPath, - 'blStartingDate': self.blStartingDate, - 'beamlineName': self.beamlineName, - 'facilityName': self.facilityName, + 'uuid': self.uuid, + 'fileTemplateName': self.fileTemplateName, + 'userUuid': self.userUuid, + 'crystalUuid': self.crystalUuid, + 'currentPath': self.currentPath, + 'generationPath': self.generationPath, + 'blStartingDate': self.blStartingDate, + 'beamlineName': self.beamlineName, + 'facilityName': self.facilityName, }, }