File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
22
23
23
24
24
class AsyncDefaultClient (BaseClient [AValkey ]):
25
- connection_factory_path = "django_valkey.async_cache.pool.AsyncConnectionFactory"
25
+ CONNECTION_FACTORY_PATH = "django_valkey.async_cache.pool.AsyncConnectionFactory"
26
26
27
27
def __contains__ (self , item ) -> bool :
28
28
c = yield from self .__contains (item )
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ def __init__(
88
88
)
89
89
90
90
self ._connection_factory = self ._options .get (
91
- "DJANGO_VALKEY_CONNECTION_FACTORY" , self .connection_factory_path
91
+ "DJANGO_VALKEY_CONNECTION_FACTORY" , self .CONNECTION_FACTORY_PATH
92
92
)
93
93
self .connection_factory = pool .get_connection_factory (
94
94
options = self ._options , path = self ._connection_factory
Original file line number Diff line number Diff line change 3
3
4
4
5
5
class DefaultClient (BaseClient [Valkey ]):
6
- connection_factory_path = "django_valkey.pool.ConnectionFactory"
6
+ CONNECTION_FACTORY_PATH = "django_valkey.pool.ConnectionFactory"
You can’t perform that action at this time.
0 commit comments