Skip to content

Commit 5111378

Browse files
committed
fix: type annotation to prevent field stripping
1 parent e69fc05 commit 5111378

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/osw/core.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ def __init__(self, **data):
10961096
class LoadEntityResult(BaseModel):
10971097
"""Result of load_entity()"""
10981098

1099-
entities: Union[model.Entity, List[model.Entity]]
1099+
entities: Union[model.OswBaseModel, List[model.OswBaseModel]]
11001100
"""The dataclass instance(s)"""
11011101

11021102
# fmt: off

0 commit comments

Comments
 (0)