Skip to content

Commit

Permalink
Update type hint for to_multipart_data method
Browse files Browse the repository at this point in the history
Co-authored-by: Isak Ohlsson Ångnell <[email protected]>
  • Loading branch information
ahdamin and islean authored Sep 2, 2024
1 parent 4ff571b commit ba2f4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cg/clients/freshdesk/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class TicketCreate(BaseModel):
type: str | None = None
custom_fields: dict[str, str | int | float | None] = Field(default_factory=dict)

def to_multipart_data(self) -> list[Tuple[str, Union[str, int, bytes]]]:
def to_multipart_data(self) -> list[Tuple[str, str | int | bytes]]:
"""Custom converter to multipart form data."""
multipart_data = []

Expand Down

0 comments on commit ba2f4c8

Please sign in to comment.