From 009ab419a03a2ed1500d0131fb9905a810b7115a Mon Sep 17 00:00:00 2001 From: korikuzma Date: Mon, 9 Aug 2021 11:12:58 -0400 Subject: [PATCH] id is optional for vrs location --- gene/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gene/schemas.py b/gene/schemas.py index bbd403f3..34e01a5f 100644 --- a/gene/schemas.py +++ b/gene/schemas.py @@ -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