HEX
Server: Apache
System: Linux srv1.prosuiteplus.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: prosuiteplus (1001)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/awscli/customizations/__pycache__/translate.cpython-38.pyc
U

<�^+
�@sPddlZddlmZmZdZdd�Zdd�ZGdd	�d	e�ZGd
d�de�ZdS)�N)�CustomArgument�CLIArgumentzT<p>The path to the file of the code you are uploading. Example: fileb://data.csv</p>cCs|�dt�dS)Nz4building-argument-table.translate.import-terminology)�register�_hoist_file_parameter)Zcli�r�A/usr/lib/python3/dist-packages/awscli/customizations/translate.py�%register_translate_import_terminologys�rcKsTtdtddd�|d<|d}t�|j�}|jd=td||jd|�d�d	d
�|d<dS)Nz	data-fileZblobT)Z	help_textZ
cli_type_nameZrequiredzterminology-data�FileF�
event_emitter�TerminologyData)�name�argument_modelZoperation_modelZis_requiredr
Zserialized_name)	�FileArgument�FILE_DOCSTRING�copy�deepcopyr
�members�TerminologyDataArgumentZ_operation_modelZ
get_component)ZsessionZargument_table�kwargsZ
file_argumentZ
file_modelrrrrs"�
�rc@seZdZdd�ZdS)rcCs:|dkrdSd|i}|�d�r.|d�|�n||d<dS)Nr	r)�get�update)�self�
parameters�valueZ
file_paramrrr�
add_to_params,s
zFileArgument.add_to_paramsN��__name__�
__module__�__qualname__rrrrrr+src@seZdZdd�ZdS)rcCsL|dkrdS|�|�}d|kr&td��|�d�r@|d�|�n||d<dS)Nr	z�File cannot be provided as part of the '--terminology-data' argument. Please use the '--data-file' option instead to specify a file.r)Z_unpack_argument�
ValueErrorrr)rrrZunpackedrrrr7s

z%TerminologyDataArgument.add_to_paramsNrrrrrr6sr)	rZawscli.argumentsrrrrrrrrrrr�<module>
s