diff options
author | BonfaceKilz | 2021-06-07 11:15:45 +0300 |
---|---|---|
committer | zsloan | 2021-06-18 22:08:04 +0000 |
commit | cf8e058682702e7203ec5eb019717cba09887272 (patch) | |
tree | f7f105e05f57b7feff1fdbebd5dbbf22a9a94dd9 | |
parent | 3b53e42162fbcbdba782016f7b63604081f2b6b1 (diff) | |
download | genenetwork3-cf8e058682702e7203ec5eb019717cba09887272.tar.gz |
gn3: metadata_audit: Make props for MetadataAudit class optional
-rw-r--r-- | gn3/db/metadata_audit.py | 6 |
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 |