Skip to content

Commit

Permalink
Remove default fields
Browse files Browse the repository at this point in the history
  • Loading branch information
kdp-cloud committed Nov 21, 2024
1 parent 775f17b commit 3e42bdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mars-cli/mars_lib/models/isa_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3e42bdd

Please sign in to comment.