From 3d4ed55b9e163938b11a5c62d2c5bbe938727f03 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Mon, 7 Jun 2021 11:15:45 +0300 Subject: gn3: metadata_audit: Make props for MetadataAudit class optional --- gn3/db/metadata_audit.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gn3/db/metadata_audit.py') 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 -- cgit v1.2.3