
    ng\j                     \    S SK JrJr  \(       a  S SKJrJr  S\S\SS4S jr " S S	5      rg
)    )TYPE_CHECKINGAny)PipelineRedisurlkwargsreturnr   c                 4    SSK Jn  UR                  " U 40 UD6$ )z
Returns an active Redis client generated from the given database URL.

Will attempt to extract the database id from the path url fragment, if
none is provided.
r   )r   )redis.asyncio.clientr   from_url)r   r   r   s      N/home/edenadmin/noVNC/venv/lib/python3.13/site-packages/redis/asyncio/utils.pyr   r      s     +>>#(((    c                   .    \ rS rSrSS jrSS jrS rSrg)	pipeline   c                 .    UR                  5       U l        g N)r   p)self	redis_objs     r   __init__pipeline.__init__   s    &//1r   c                 "   #    U R                   $ 7fr   r   )r   s    r   
__aenter__pipeline.__aenter__   s     vvs   c                 X   #    U R                   R                  5       I S h  vN   U ? g  N7fr   )r   execute)r   exc_type	exc_value	tracebacks       r   	__aexit__pipeline.__aexit__   s#     ffnnF 	s   *(*r   N)r   r   )r	   r   )__name__
__module____qualname____firstlineno__r   r   r"   __static_attributes__ r   r   r   r      s    2r   r   N)	typingr   r   r   r   r   strr   r   r)   r   r   <module>r,      s2    %4	)# 	) 	) 	)	 	r   