From 8db2ff9a594469da6594093c017cc126c73a71ff Mon Sep 17 00:00:00 2001 From: James Stevenson Date: Tue, 2 Jan 2024 13:15:37 -0500 Subject: [PATCH] Update src/gene/schemas.py Co-authored-by: Kori Kuzma --- src/gene/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gene/schemas.py b/src/gene/schemas.py index 545588d4..d2c17d84 100644 --- a/src/gene/schemas.py +++ b/src/gene/schemas.py @@ -92,7 +92,7 @@ class BaseGene(BaseModel): symbol_status: Optional[SymbolStatus] = None label: Optional[StrictStr] = None strand: Optional[Strand] = None - location_annotations: List[Union[Annotation, Chromosome, str]] = [] + location_annotations: List[Union[Annotation, Chromosome, StrictStr]] = [] locations: Union[ List[models.SequenceLocation], List[StoredSequenceLocation],