�
J�g� � �L � d dl mZmZ G d� d� � Z G d� de� � ZdS )� )�JSONDecoder�JSONEncoderc �r � e Zd ZdZ e� � e� � fd�Zd
d�Zd� Zd� Z d� Z
d� Zd � Zd
� Z
d
d�ZdS )�RedisModuleCommandszoThis class contains the wrapper functions to bring supported redis
modules into the command namespace.
c �. � ddl m} || ||�� � }|S )z<Access the json namespace, providing support for redis json.� )�JSON)�client�encoder�decoder)�jsonr )�selfr r r �jjs �k/home/asafur/pinokio/api/open-webui.git/app/env/lib/python3.11/site-packages/redis/commands/redismodules.pyr
zRedisModuleCommands.json s1 � � ������
�T��w��
@�
@�
@��� � �idxc �, � ddl m} || |�� � }|S )�@Access the search namespace, providing support for redis search.r )�Search�r
�
index_name)�searchr )r r r �ss r �ftzRedisModuleCommands.ft s/ � � #�"�"�"�"�"��F�$�:�6�6�6���r c �* � ddl m} || �� � }|S )z^Access the timeseries namespace, providing support for
redis timeseries data.
r )�
TimeSeries�r
)�
timeseriesr )r r r s r �tszRedisModuleCommands.ts s- � �
+�*�*�*�*�*��J�d�#�#�#���r c �* � ddl m} || �� � }|S )�Access the bloom namespace.r )�BFBloomr )�bfr"