File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 99from valkey .asyncio .sentinel import Sentinel
1010from valkey ._parsers .url_parser import to_bool
1111
12- from django_valkey .base_pool import BaseConnectionPool
12+ from django_valkey .base_pool import BaseConnectionFactory
1313
1414
15- class AsyncConnectionFactory (BaseConnectionPool [AValkey , ConnectionPool ]):
15+ class AsyncConnectionFactory (BaseConnectionFactory [AValkey , ConnectionPool ]):
1616 path_pool_cls = "valkey.asyncio.connection.ConnectionPool"
1717 path_base_cls = "valkey.asyncio.client.Valkey"
1818
Original file line number Diff line number Diff line change 77Base = TypeVar ("Base" )
88
99
10- class BaseConnectionPool (Generic [Base , Pool ]):
10+ class BaseConnectionFactory (Generic [Base , Pool ]):
1111 # Store connection pool by cache backend options.
1212 #
1313 # _pools is a process-global, as otherwise _pools is cleared every time
Original file line number Diff line number Diff line change 99from valkey .sentinel import Sentinel
1010from valkey ._parsers .url_parser import to_bool
1111
12- from django_valkey .base_pool import BaseConnectionPool , Base
12+ from django_valkey .base_pool import BaseConnectionFactory , Base
1313
1414
15- class ConnectionFactory (BaseConnectionPool [Valkey , ConnectionPool ]):
15+ class ConnectionFactory (BaseConnectionFactory [Valkey , ConnectionPool ]):
1616 path_pool_cls = "valkey.connection.ConnectionPool"
1717 path_base_cls = "valkey.client.Valkey"
1818
You can’t perform that action at this time.
0 commit comments