Skip to content

Commit

Permalink
fix: id field is added to base class
Browse files Browse the repository at this point in the history
  • Loading branch information
oyurekten committed Sep 13, 2024
1 parent 33811f8 commit ef682f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metabolights_utils/models/isa/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class IsaAbstractModel(MetabolightsBaseModel):
IsaTabConfig,
Field(exclude=True),
] = IsaTabConfig()

id: Annotated[Union[None, str], Field(alias="@id", default=None)] = None
model_config = ConfigDict(extra="forbid")

@classmethod
Expand Down

0 comments on commit ef682f4

Please sign in to comment.