File: //opt/alt/python311/lib/python3.11/site-packages/redis/commands/__pycache__/core.cpython-311.pyc
�
$�;f�| �
�X � d dl Z d dlZd dlZd dlZd dlmZmZmZmZ ddl m
Z
G d� d� � Z G d� d� � Z G d � d
� � Z
G d� d� � Z G d
� d� � Z G d� d� � Z G d� d� � Z G d� d� � Z G d� d� � Z G d� d� � Z G d� d� � Z G d� d� � Z G d� d� � Z G d� d � � Z G d!� d"� � Z G d#� d$� � Z G d%� d&� � Z G d'� d(e
eeeeeeee� � Z G d)� d*eeeeeee� � ZdS )+� N)�ConnectionError� DataError�
NoScriptError�
RedisError� )�list_or_argsc �| � e Zd ZdZdd�Zd� Zdd�Zd� Zd� Zd� Z dd �Z
d
� Zd� Zd� Z
dd�Zd� Zd� ZdS )�ACLCommandszX
Redis Access Control List (ACL) commands.
see: https://redis.io/topics/acl
Nc �2 � |r|gng } | j dg|�R i |��S )aA
Returns a list of categories or commands within a category.
If ``category`` is not supplied, returns a list of all categories.
If ``category`` is supplied, returns a list of all commands within
that category.
For more information check https://redis.io/commands/acl-cat
zACL CAT��execute_command)�self�category�kwargs�piecess �F/opt/alt/python311/lib/python3.11/site-packages/redis/commands/core.py�acl_catzACLCommands.acl_cat s7 � � (�/�(���R��#�t�#�I�A��A�A�A�&�A�A�A� c �$ � | j dg|�R i |��S )z�
Delete the ACL for the specified ``username``s
For more information check https://redis.io/commands/acl-deluser
zACL DELUSERr �r �usernamer s r �acl_deluserzACLCommands.acl_deluser s'