summaryrefslogtreecommitdiff
path: root/redis/asyncio/client.py
diff options
context:
space:
mode:
authordvora-h <67596500+dvora-h@users.noreply.github.com>2022-04-07 14:46:11 +0300
committerGitHub <noreply@github.com>2022-04-07 14:46:11 +0300
commitcb91eed751c226ebca5b1b8e8d62769fdee9bfbc (patch)
treea9e8decb34610a4c483db9c50849cca64e47afa6 /redis/asyncio/client.py
parent20e4b873151804f596fa324c38f18fae175c2e63 (diff)
downloadredis-py-cb91eed751c226ebca5b1b8e8d62769fdee9bfbc.tar.gz
Async tests for redis commands, json, bloom, timeseries (#2087)
* test async commands * test async json commands * test async timeseries commands * test async bloom commands * linters * linters * skip on cluster * linters * linters * isort * flynt * remove print
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,