| Server IP : 127.0.1.1 / Your IP : 216.73.216.17 Web Server : Apache/2.4.58 (Ubuntu) System : Linux dalsi.io 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/redis/asyncio/__pycache__/ |
Upload File : |
�
���b�
� �X � d dl mZmZmZmZmZmZ d dlmZm Z erd dl
mZ G d� d� Zy)� )�
TYPE_CHECKING�Any�Dict�Optional�Tuple�Union)�
RedisError�
ResponseError)�ClusterNodec �t � e Zd ZdZdZd
d�Zdded ddfd�Zd edee e
d
f fd�Zd edee e
d
f fd�Zy)�CommandsParsera%
Parses Redis commands to get command keys.
COMMAND output is used to determine key locations.
Commands that do not have a predefined key location are flagged with 'movablekeys',
and these commands' keys are determined by the command 'COMMAND GETKEYS'.
NOTE: Due to a bug in redis<7.0, this does not work properly
for EVAL or EVALSHA when the `numkeys` arg is 0.
- issue: https://github.com/redis/redis/issues/9493
- fix: https://github.com/redis/redis/pull/9733
So, don't use this with EVAL or EVALSHA.
)�commands�node�returnNc � � i | _ y �N)r )�selfs �6/usr/lib/python3/dist-packages/redis/asyncio/parser.py�__init__zCommandsParser.__init__ s � �?A��
� r r c � � K � |r|| _ | j j d� � d { ��� }|j � D ]? \ }}d|d v rd||<