summaryrefslogtreecommitdiff
path: root/redis/asyncio/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/asyncio/client.py')
-rw-r--r--redis/asyncio/client.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/redis/asyncio/client.py b/redis/asyncio/client.py
index 7175e02..559b74c 100644
--- a/redis/asyncio/client.py
+++ b/redis/asyncio/client.py
@@ -255,6 +255,14 @@ class Redis(
"""Set a custom Response Callback"""
self.response_callbacks[command] = callback
+ def get_encoder(self):
+ """Get the connection pool's encoder"""
+ return self.connection_pool.get_encoder()
+
+ def get_connection_kwargs(self):
+ """Get the connection's key-word arguments"""
+ return self.connection_pool.connection_kwargs
+
def load_external_module(
self,
funcname,