Skip to content

Commit

Permalink
id is optional for vrs location
Browse files Browse the repository at this point in the history
  • Loading branch information
korikuzma committed Aug 9, 2021
1 parent 034d4d4 commit 009ab41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gene/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class Chromosome(str, Enum):
class Location(BaseModel):
"""Define string constraints for the location attribute."""

id: StrictStr = Field(..., alias='_id')
id: Optional[StrictStr] = Field(alias='_id')
type: LocationType


Expand Down

0 comments on commit 009ab41

Please sign in to comment.