Skip to content

Commit bacb974

Browse files
committed
from __future__ import annotations for legacy Python versions
1 parent 841709f commit bacb974

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/keboola/http_client/async_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import asyncio
24
import logging
35
from typing import Any

src/keboola/http_client/http.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import functools
24
import logging
35
import urllib.parse as urlparse
@@ -7,7 +9,7 @@
79
from requests.adapters import HTTPAdapter
810
from urllib3.util import Retry
911

10-
Cookie = dict[str, str] | CookieJar
12+
Cookie = "dict[str, str] | CookieJar"
1113

1214
METHOD_RETRY_WHITELIST = ("GET", "POST", "PATCH", "UPDATE", "PUT", "DELETE")
1315
ALLOWED_METHODS = ["GET", "POST", "PATCH", "UPDATE", "PUT", "DELETE"]

0 commit comments

Comments
 (0)