| Server IP : 167.99.254.82 / Your IP : 216.73.217.78 Web Server : Apache System : Linux host.techisquad.com 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/awscli/customizations/__pycache__/ |
Upload File : |
o
.&�a!% � @ sF d dl Z d dlmZ e �e�ZdZG dd� de�ZG dd� de�Z dS )� N)�CustomArgument�.c s: e Zd ZdZ d
� fdd� Zedd� �Zdd � Z� ZS )�FlattenedArgumenta)
A custom argument which has been flattened from an existing structure. When
added to the call params it is hydrated back into the structure.
Supports both an object and a list of objects, in which case the flattened
parameters will hydrate a list with a single object in it.
� Nc s8 || _ || _|| _|| _|| _tt| �j|||d� d S )N)�name� help_text�required)�type�
_container� _property�_hydrate�_hydrate_value�superr �__init__) �selfr � container�propr r r �hydrate�
hydrate_value�� __class__� �?/usr/lib/python3/dist-packages/awscli/customizations/flatten.pyr s
�zFlattenedArgument.__init__c C s | j S �N)r )r r r r �
cli_type_name* s zFlattenedArgument.cli_type_namec C s� | j jj}| j j}| j}t�d�||�� |durw| jdkr&|� � dk }n| jdv r0t
|�}n | jdv r9t|�}| jrG| �|||||� dS ||vrY|dkrUi g||<