From 76442291283188bc453b1624d14f8b1b8865b74d Mon Sep 17 00:00:00 2001 From: Artur Mostowski Date: Wed, 11 Sep 2024 18:07:41 +0200 Subject: [PATCH] linters fixed --- redis/client.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/redis/client.py b/redis/client.py index 514c4eb40e..8661121f38 100755 --- a/redis/client.py +++ b/redis/client.py @@ -1,11 +1,13 @@ import copy import re +import ssl import threading import time import warnings from itertools import chain -from typing import Any, Callable, Dict, List, Optional, Type, Union, Mapping, TYPE_CHECKING +from typing import Any, Callable, Dict, List, Mapping, Optional, Type, Union +import OpenSSL from redis._cache import ( DEFAULT_ALLOW_LIST, DEFAULT_DENY_LIST, @@ -51,10 +53,6 @@ str_if_bytes, ) -if TYPE_CHECKING: - import OpenSSL - import ssl - SYM_EMPTY = b"" EMPTY_RESPONSE = "EMPTY_RESPONSE"