We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a008ceb commit f4243c4Copy full SHA for f4243c4
2 files changed
src/flareio/api_client.py
@@ -21,7 +21,7 @@
21
22
23
_API_DOMAIN_DEFAULT: str = "api.flare.io"
24
-_ALLOWED_API_DOMAINS: frozenset[str] = frozenset(
+_ALLOWED_API_DOMAINS: t.FrozenSet[str] = frozenset(
25
{
26
_API_DOMAIN_DEFAULT,
27
"api.eu.flare.io",
src/flareio/auth.py
@@ -1,14 +1,16 @@
1
from requests import PreparedRequest
2
from requests.auth import AuthBase
3
4
+import typing as t
5
+
6
7
class _StaticHeadersAuth(AuthBase):
8
def __init__(
9
self,
10
*,
- headers: dict[str, str],
11
+ headers: t.Dict[str, str],
12
) -> None:
- self._headers: dict[str, str] = headers
13
+ self._headers: t.Dict[str, str] = headers
14
15
def __call__(
16
0 commit comments