aboutsummaryrefslogtreecommitdiff
path: root/gn3/db
diff options
context:
space:
mode:
authorBonfaceKilz2021-06-07 11:15:45 +0300
committerzsloan2021-06-18 22:08:04 +0000
commitcf8e058682702e7203ec5eb019717cba09887272 (patch)
treef7f105e05f57b7feff1fdbebd5dbbf22a9a94dd9 /gn3/db
parent3b53e42162fbcbdba782016f7b63604081f2b6b1 (diff)
downloadgenenetwork3-cf8e058682702e7203ec5eb019717cba09887272.tar.gz
gn3: metadata_audit: Make props for MetadataAudit class optional
Diffstat (limited to 'gn3/db')
-rw-r--r--gn3/db/metadata_audit.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gn3/db/metadata_audit.py b/gn3/db/metadata_audit.py
index 6e22b32..e73e988 100644
--- a/gn3/db/metadata_audit.py
+++ b/gn3/db/metadata_audit.py
@@ -10,9 +10,9 @@ from typing import Optional
@dataclass(frozen=True)
class MetadataAudit:
"""Data Type that represents a Phenotype"""
- dataset_id: int
- editor: str
- json_data: str
+ dataset_id: Optional[int] = None
+ editor: Optional[str] = None
+ json_data: Optional[str] = None
time_stamp: Optional[str] = None