Skip to content

Commit d916711

Browse files
committed
Fix Mapped Variant View Models
1 parent 87859df commit d916711

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/mavedb/view_models/mapped_variant.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
from typing import Any
1+
from typing import Any, Optional
22
from datetime import date
33

44
from .base.base import BaseModel
55

66

77
class MappedVariantBase(BaseModel):
8-
pre_mapped: Any
9-
post_mapped: Any
8+
pre_mapped: Optional[Any]
9+
post_mapped: Optional[Any]
1010
variant_id: int
11-
vrs_version: str
12-
error_message: str
11+
vrs_version: Optional[str]
12+
error_message: Optional[str]
1313
modification_date: date
1414
mapped_date: date
1515
mapping_api_version: str

0 commit comments

Comments
 (0)