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 9
9
from valkey .asyncio .sentinel import Sentinel
10
10
from valkey ._parsers .url_parser import to_bool
11
11
12
- from django_valkey .base_pool import BaseConnectionPool
12
+ from django_valkey .base_pool import BaseConnectionFactory
13
13
14
14
15
- class AsyncConnectionFactory (BaseConnectionPool [AValkey , ConnectionPool ]):
15
+ class AsyncConnectionFactory (BaseConnectionFactory [AValkey , ConnectionPool ]):
16
16
path_pool_cls = "valkey.asyncio.connection.ConnectionPool"
17
17
path_base_cls = "valkey.asyncio.client.Valkey"
18
18
Original file line number Diff line number Diff line change 7
7
Base = TypeVar ("Base" )
8
8
9
9
10
- class BaseConnectionPool (Generic [Base , Pool ]):
10
+ class BaseConnectionFactory (Generic [Base , Pool ]):
11
11
# Store connection pool by cache backend options.
12
12
#
13
13
# _pools is a process-global, as otherwise _pools is cleared every time
Original file line number Diff line number Diff line change 9
9
from valkey .sentinel import Sentinel
10
10
from valkey ._parsers .url_parser import to_bool
11
11
12
- from django_valkey .base_pool import BaseConnectionPool , Base
12
+ from django_valkey .base_pool import BaseConnectionFactory , Base
13
13
14
14
15
- class ConnectionFactory (BaseConnectionPool [Valkey , ConnectionPool ]):
15
+ class ConnectionFactory (BaseConnectionFactory [Valkey , ConnectionPool ]):
16
16
path_pool_cls = "valkey.connection.ConnectionPool"
17
17
path_base_cls = "valkey.client.Valkey"
18
18
You can’t perform that action at this time.
0 commit comments