Skip to content

Commit

Permalink
Make Role manditory (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
diversemix authored Oct 24, 2023
1 parent 0d45b21 commit 694106a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/model/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class DocumentReadDTO(BaseModel):
family_import_id: str
variant_name: Optional[str]
status: DocumentStatus
role: Optional[str]
role: str
type: Optional[str]
slug: str
# From PhysicalDocument
Expand All @@ -33,7 +33,7 @@ class DocumentWriteDTO(BaseModel):

# From FamilyDocument
variant_name: Optional[str]
role: Optional[str]
role: str
type: Optional[str]
title: str
source_url: Optional[str]
Expand Down

0 comments on commit 694106a

Please sign in to comment.