Dashboard
PHP:
8.3.30
OS:
Linux
User:
dh_mnqueb
/
/
usr
/
lib
/
python3
/
dist-packages
/
awscli
/
customizations
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: flatten.cpython-310.pyc
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||<