Skip to content

Commit bcc5e2d

Browse files
committed
FIX: set default propertiers Field
1 parent 4e96939 commit bcc5e2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tiled/stream_messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class DataSource(BaseModel, Generic[StructureT]):
2525
structure: StructureT
2626
mimetype: str
2727
parameters: dict
28-
properties: Optional[dict]
28+
properties: dict = Field(default_factory=dict) # TODO: make this required in a future release. See Issue #1300
2929
assets: list[Asset]
3030
management: Management
3131

0 commit comments

Comments
 (0)