Update Icon.sizes to use string array format (#1411)

This commit is contained in:
Peter Alexander 2025-09-29 14:27:32 +01:00 • committed by GitHub
commit 80c0d23d48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -222,8 +222,8 @@ class Icon(BaseModel):
mimeType: str | None = None
"""Optional MIME type for the icon."""
sizes: str | None = None
"""Optional string specifying icon dimensions (e.g., "48x48 96x96")."""
sizes: list[str] | None = None
"""Optional list of strings specifying icon dimensions (e.g., ["48x48", "96x96"])."""
model_config = ConfigDict(extra="allow")