diff options
Diffstat (limited to 'redis/commands/redismodules.py')
-rw-r--r-- | redis/commands/redismodules.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/redis/commands/redismodules.py b/redis/commands/redismodules.py index eafd650..c0238d3 100644 --- a/redis/commands/redismodules.py +++ b/redis/commands/redismodules.py @@ -81,3 +81,13 @@ class RedisModuleCommands: g = Graph(client=self, name=index_name) return g + + +class AsyncRedisModuleCommands(RedisModuleCommands): + def ft(self, index_name="idx"): + """Access the search namespace, providing support for redis search.""" + + from .search import AsyncSearch + + s = AsyncSearch(client=self, index_name=index_name) + return s |