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/awscli/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/__pycache__/text.cpython-310.pyc
o

2&�a��@sRddlmZdd�Zddd�Zdd�Zd	d
�Zdd�Zd
d�Zdd�Zdd�Z	dS)�)�sixcCst||�dS�N)�_format_text)�data�stream�r�-/usr/lib/python3/dist-packages/awscli/text.py�format_textsr	NcCsTt|t�rt||||�dSt|t�rt|||�dS|�t�|��|�d�dS)N�
)�
isinstance�dict�_format_dict�list�_format_list�writer�	text_type)�itemr�
identifier�scalar_keysrrrrs

rcCs�|sdStdd�|D��r t|�}|D]
}t||||d�qdStdd�|D��rEt|�\}}|r7t|||�|D]	}t|||d�q9dSt|||�dS)Ncs��|]}t|t�VqdSr)rr��.0�elrrr�	<genexpr>#��z_format_list.<locals>.<genexpr>)rrrcsrr)rrrrrrr(r)rr)�any�_all_scalar_keysr�_partition_list�_format_scalar_list)rrr�all_keys�element�scalar_elements�non_scalars�
non_scalarrrrr s&����rcCs>g}g}|D]}t|ttf�r|�|�q|�|�q||fSr)rrr�append)r�scalarsr"r rrrr3srcCsT|dur|D]
}|�d|��|f�qdS|�d�dd�|D���|�d�dS)Nz%s	%s
�	cSsg|]}t�|��qSr)rr)rrrrr�
<listcomp>Esz'_format_scalar_list.<locals>.<listcomp>r
)r�upper�join)�elementsrrrrrrr>s
��rcCsft||d�\}}|r#|dur|�d|���|�d�|��|�d�|D]\}}t|||d�q%dS)N)rrr&r
)rrr)�_partition_dict�insertr(rr)r)rrrrr%r"�new_identifierr#rrrr
Is
��r
cCsFt�}|D]}|��D]\}}t|ttf�s|�|�qqtt|��Sr)�set�itemsrrr�add�sorted)�
list_of_dicts�	keys_seen�	item_dict�key�valuerrrrUs
��rc	Cs�g}g}|dur.t|���D]\}}t|ttf�r!|�||f�q|�t�|��q||fS|D]}|�t�|�|d���q0tt	|�
��t	|��}|D]}|�|||f�qM||fS)N�)r1r/rrrr$rr�getr.�keys)r4r�scalarr#r5r6�remaining_keys�
remaining_keyrrrr+^s�r+)NN)
�
awscli.compatrr	rrrrr
rr+rrrr�<module>s
	

https://t.me/RX1948 - 2025