add decordator to from dict in syumbol

This commit is contained in:
stuart committed 2026-02-26 10:30:12 +01:00
1 parent 34384ba828
commit 05488acd23
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ class Symbol(BaseModel):
label: str
image: str # Base64-encoded PNG image data
@classmethod
def from_dict(cls, data: dict) -> "Symbol":
return cls(
id=data["id"],