-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Description
The attribute strain_id is present in the db model, but it's not exposed in the pydantic schema (neither Read nor Create), but they should be consistent.
db model:
Line 497 in 2435f57
class Subject(NameDescriptionVectorMixin, SpeciesMixin, Entity): Line 234 in 2435f57
strain_id: Mapped[uuid.UUID | None] = mapped_column(index=True)
pydantic schema:
entitycore/app/schemas/subject.py
Line 18 in 2435f57
class SubjectBase(BaseModel):
Acceptance criteria
The strain_id is exposed in the Read and Create pydantic schemas of the subject
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request