Skip to content

Commit

Permalink
Override Study.description in semantic_models instead of bia_data_model
Browse files Browse the repository at this point in the history
  • Loading branch information
kbab committed Jun 28, 2024
1 parent 6d58e60 commit 413a2ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bia-shared-datamodels/src/bia_models/semantic_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ class Study(DocumentMixin):
attribute: dict = Field(
description="""Freeform key-value pairs from user provided metadata (e.g. filelist data) and experimental fields."""
)
# Override optional description in DocumentMixin
description: str = Field(
None, description="""Brief description of the scientific document."""
)


class Publication(DocumentMixin):
Expand Down

0 comments on commit 413a2ed

Please sign in to comment.