https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/jinja2/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/jinja2/__pycache__/async_utils.cpython-310.pyc
o

F��a��	@s�ddlZddlZddlmZddlmZddlmZe�d�Z	dd�Z
eee
eeeeed�hZd	ejejddfd
dfdd�Z	
		
	ddd�Zd	dd
ejdfdd�ZdS)�N)�wraps�)�_PassArg)�pass_eval_context�Vcs�fdd�}|S)Ncsvt���}|du�|tjurdtjdtfdd��n
dtjdtfdd��t������fdd��}�r6t|�}d|_|S)	N�args�returncSst�t|dj�S�Nr)�t�cast�bool�is_async�r�r�4/usr/lib/python3/dist-packages/jinja2/async_utils.pyr
sz2async_variant.<locals>.decorator.<locals>.is_asynccSst�t|djj�Sr	)r
rr�environmentr
rrrrr
scs8�|�}�r|dd�}|r�|i|��S�|i|��S)Nrr)r�kwargs�b)�
async_funcr
�need_eval_context�normal_funcrr�wrappersz1async_variant.<locals>.decorator.<locals>.wrapperT)	r�from_objrr
�Anyrrr�jinja_async_variant)r�pass_argr�r)rr
rr�	decorators

z async_variant.<locals>.decoratorr)rrrrr�
async_variants r�valuerc�sB�t|�tvr
t�d|�St�|�rt�d|�IdHSt�d|�S)Nrzt.Awaitable[V])�type�_common_primitivesr
r�inspect�isawaitable�rrrr�
auto_await2s�
r%�iterable�*t.Union[t.AsyncIterable[V], t.Iterable[V]]�t.AsyncIterator[V]cCsN�t|d�rt�d|�2z	3dHW}|Vq6dSt�d|�D]}|VqdS)N�	__aiter__zt.AsyncIterable[V]z
t.Iterable[V])�hasattrr
r)r&�itemrrr�
auto_aiter=s�
��r,c�s�dd�t|�2�IdHS)Nc�s�g|z3dHW}|�q6S)Nr)�.0�xrrr�
<listcomp>Ks�z auto_to_list.<locals>.<listcomp>)r,r$rrr�auto_to_listHs�r0)r&r'rr()r"�typingr
�	functoolsr�utilsrr�TypeVarrr�int�floatr�str�list�dict�tupler r!�Union�	Awaitabler%r,�Listr0rrrr�<module>s&
$"�
���

https://t.me/RX1948 - 2025