Skip to content

Commit df91619

Browse files
committed
style: Apply linters, fix timeout types
1 parent 22818fb commit df91619

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mailjet_rest/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def __call__(
333333
headers: dict[str, str] | None = None,
334334
id: int | str | None = None,
335335
action_id: int | str | None = None,
336-
timeout: float | tuple[float, float] | None = None,
336+
timeout: int | float | tuple[float, float] | None = None, # noqa: PYI041
337337
ensure_ascii: bool | None = None,
338338
data_encoding: str | None = None,
339339
**kwargs: Any,
@@ -652,7 +652,7 @@ def api_call(
652652
filters: dict[str, Any] | None = None,
653653
data: dict[str, Any] | list[Any] | str | None = None,
654654
headers: dict[str, str] | None = None,
655-
timeout: float | tuple[float, float] | None = None,
655+
timeout: int | float | tuple[float, float] | None = None, # noqa: PYI041
656656
ensure_ascii: bool | None = None,
657657
data_encoding: str | None = None,
658658
**kwargs: Any,

0 commit comments

Comments
 (0)