Skip to content

Commit 7a79a9f

Browse files
committed
remove TYPE_CHECKING clause from ssl conditional
Signed-off-by: Joel Dice <[email protected]>
1 parent 2ec117f commit 7a79a9f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

redis/asyncio/connection.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from itertools import chain
1111
from types import MappingProxyType
1212
from typing import (
13-
TYPE_CHECKING,
1413
Any,
1514
Callable,
1615
Iterable,
@@ -29,7 +28,7 @@
2928

3029
from ..utils import SSL_AVAILABLE
3130

32-
if TYPE_CHECKING and SSL_AVAILABLE:
31+
if SSL_AVAILABLE:
3332
import ssl
3433
from ssl import SSLContext, TLSVersion
3534
else:

0 commit comments

Comments
 (0)