You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Timeseries commands are not visible when using ClusterConnection from redis.asyncio package. They are available when using ClusterConnection from redis. Here is the test code I am using to reproduce the issue:
$ python test.py
<bound method RedisModuleCommands.ts of <redis.cluster.RedisCluster object at 0x7ff427ce5eb0>>
Traceback (most recent call last):
File "/workspaces/megadag/test.py", line 18, in <module>
aio.run(test_aio())
File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 664, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/workspaces/megadag/test.py", line 13, in test_aio
print(conn.ts)
^^^^^^^
AttributeError: 'RedisCluster' object has no attribute 'ts'
Expected: Both version of the RedisCluster should provide access to the ts API.
The text was updated successfully, but these errors were encountered:
Version: 5.0.1
Redis Version: 7.2.2
Platform: Linux (bullseye)
Description: Timeseries commands are not visible when using
ClusterConnection
fromredis.asyncio
package. They are available when usingClusterConnection
fromredis
. Here is the test code I am using to reproduce the issue:Output:
Expected: Both version of the
RedisCluster
should provide access to the ts API.The text was updated successfully, but these errors were encountered: