Skip to content

Commit

Permalink
Import optional types
Browse files Browse the repository at this point in the history
  • Loading branch information
ytkimirti committed Nov 23, 2023
1 parent d4e05e1 commit 938337f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/test_http.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import asyncio
from os import environ
from platform import python_version
from typing import Any, Dict, Literal, Union
from typing import Any, Dict, Literal, Optional
from unittest.mock import MagicMock, patch

import pytest
Expand Down
2 changes: 1 addition & 1 deletion upstash_redis/client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from os import environ
from typing import Any, List, Literal, Type, Union
from typing import Any, List, Literal, Optional, Type

from requests import Session

Expand Down
2 changes: 1 addition & 1 deletion upstash_redis/format.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Callable, Dict, List, Literal, Tuple, Union
from typing import Callable, Dict, List, Literal, Optional, Tuple, Union

from upstash_redis.typing import GeoSearchResult

Expand Down
2 changes: 1 addition & 1 deletion upstash_redis/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, Literal, Union
from typing import Any, Literal, Optional, Union

from upstash_redis.typing import FloatMinMaxT

Expand Down

0 comments on commit 938337f

Please sign in to comment.