From 3e42bdd515f3ec91f66d5a77596378623a48b322 Mon Sep 17 00:00:00 2001 From: Kevin De Pelseneer Date: Thu, 21 Nov 2024 17:13:17 +0100 Subject: [PATCH] Remove default fields --- mars-cli/mars_lib/models/isa_json.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mars-cli/mars_lib/models/isa_json.py b/mars-cli/mars_lib/models/isa_json.py index 2eed601..456f7b3 100644 --- a/mars-cli/mars_lib/models/isa_json.py +++ b/mars-cli/mars_lib/models/isa_json.py @@ -255,7 +255,7 @@ class MaterialAttribute(IsaBase): class Study(CommentedIsaBase): - id: str = Field(alias="@id", default=None) + id: str = Field(alias="@id") assays: List[Assay] = [] characteristicCategories: List[MaterialAttribute] = [] description: Optional[str] = None @@ -284,7 +284,7 @@ def validate_filename(cls, v: str) -> Union[str, None]: class Investigation(CommentedIsaBase): - id: str = Field(alias="@id", default=None) + id: str = Field(alias="@id") description: Optional[str] = None filename: Optional[str] = None identifier: Optional[str] = None