Skip to content

Commit 4ff571b

Browse files
ahdaminislean
andauthored
Update type hint for attachments
Co-authored-by: Isak Ohlsson Ångnell <[email protected]>
1 parent 64162ed commit 4ff571b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cg/clients/freshdesk/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class TicketCreate(BaseModel):
88
"""Freshdesk ticket."""
99

10-
attachments: list[Union[str, bytes]] = Field(default_factory=list)
10+
attachments: list[str | bytes] = Field(default_factory=list)
1111
email: EmailStr
1212
email_config_id: int | None = None
1313
description: str

0 commit comments

Comments
 (0)