We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3990557 commit ad6b53aCopy full SHA for ad6b53a
mailjet_rest/client.py
@@ -37,7 +37,6 @@
37
from re import Match
38
from typing import TYPE_CHECKING
39
from typing import Any
40
-from typing import Callable
41
42
import requests # type: ignore[import-untyped]
43
from requests.compat import urljoin # type: ignore[import-untyped]
@@ -46,12 +45,13 @@
46
45
47
48
if TYPE_CHECKING:
+ from collections.abc import Callable
49
from collections.abc import Mapping
50
51
from requests.models import Response # type: ignore[import-untyped]
52
53
54
-requests.packages.urllib3.disable_warnings()
+requests.packages.urllib3.disable_warnings() # type: ignore[attr-defined]
55
56
57
def prepare_url(key: Match[str]) -> str:
0 commit comments