aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorBonfaceKilz2021-06-07 11:15:45 +0300
committerBonfaceKilz2021-06-07 19:58:44 +0300
commit3d4ed55b9e163938b11a5c62d2c5bbe938727f03 (patch)
tree2ce535f4829f40c0eafbc021907f9f2ae6014b43 /gn3
parentdf9711a7441f9885335592f349607256ee6e1095 (diff)
downloadgenenetwork3-3d4ed55b9e163938b11a5c62d2c5bbe938727f03.tar.gz
gn3: metadata_audit: Make props for MetadataAudit class optional
Diffstat (limited to 'gn3')
-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