Skip to content

Commit ad6b53a

Browse files
committed
style: Import Callable from collections.abc
1 parent 3990557 commit ad6b53a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mailjet_rest/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
from re import Match
3838
from typing import TYPE_CHECKING
3939
from typing import Any
40-
from typing import Callable
4140

4241
import requests # type: ignore[import-untyped]
4342
from requests.compat import urljoin # type: ignore[import-untyped]
@@ -46,12 +45,13 @@
4645

4746

4847
if TYPE_CHECKING:
48+
from collections.abc import Callable
4949
from collections.abc import Mapping
5050

5151
from requests.models import Response # type: ignore[import-untyped]
5252

5353

54-
requests.packages.urllib3.disable_warnings()
54+
requests.packages.urllib3.disable_warnings() # type: ignore[attr-defined]
5555

5656

5757
def prepare_url(key: Match[str]) -> str:

0 commit comments

Comments
 (0)