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 : |
o 2&�a� � @ sR d dl mZ dd� Zddd�Zdd� Zd d � Zdd� Zd d� Zdd� Zdd� Z dS )� )�sixc C s t | |� d S �N)�_format_text)�data�stream� r �-/usr/lib/python3/dist-packages/awscli/text.py�format_text s r Nc C sT t | t�rt|| ||� d S t | t�rt| ||� d S |�t�| �� |�d� d S )N� )� isinstance�dict�_format_dict�list�_format_list�writer � text_type)�itemr � identifier�scalar_keysr r r r s r c C s� | sd S t dd� | D ��r t| �}| D ] }t||||d� qd S t dd� | D ��rEt| �\}}|r7t|||� |D ] }t|||d� q9d S t| ||� d S )Nc s � � | ]}t |t�V qd S r )r r ��.0�elr r r � <genexpr># � � z_format_list.<locals>.<genexpr>)r r r c s r r )r r r r r r r ( r )r r )�any�_all_scalar_keysr �_partition_list�_format_scalar_list)r r r �all_keys�element�scalar_elements�non_scalars� non_scalarr r r r s&