Skip to content

Commit e226ad2

Browse files
Removing connection_pool field from the CommandProtocol definition (#3656)
Co-authored-by: Vladyslav Vildanov <117659936+vladvildanov@users.noreply.github.com>
1 parent 14a6fc3 commit e226ad2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

redis/typing.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616
if TYPE_CHECKING:
1717
from redis._parsers import Encoder
18-
from redis.asyncio.connection import ConnectionPool as AsyncConnectionPool
19-
from redis.connection import ConnectionPool
2018

2119

2220
Number = Union[int, float]
@@ -52,8 +50,6 @@
5250

5351

5452
class CommandsProtocol(Protocol):
55-
connection_pool: Union["AsyncConnectionPool", "ConnectionPool"]
56-
5753
def execute_command(self, *args, **options) -> ResponseT: ...
5854

5955

0 commit comments

Comments
 (0)