HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/awscli/customizations/__pycache__/translate.cpython-310.pyc
o

.&�a+
�@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)�cli�r�A/usr/lib/python3/dist-packages/awscli/customizations/translate.py�%register_translate_import_terminologys�r	cKsTtdtddd�|d<|d}t�|j�}|jd=td||jd|�d�d	d
�|d<dS)Nz	data-file�blobT)�	help_text�
cli_type_name�requiredzterminology-data�FileF�
event_emitter�TerminologyData)�name�argument_model�operation_model�is_requiredr�serialized_name)	�FileArgument�FILE_DOCSTRING�copy�deepcopyr�members�TerminologyDataArgument�_operation_model�
get_component)�session�argument_table�kwargs�
file_argument�
file_modelrrrrs
��rc@�eZdZdd�ZdS)rcCs<|durdSd|i}|�d�r|d�|�dS||d<dS)Nrr)�get�update)�self�
parameters�value�
file_paramrrr�
add_to_params,s
zFileArgument.add_to_paramsN��__name__�
__module__�__qualname__r*rrrrr+�rc@r#)rcCsN|durdS|�|�}d|vrtd��|�d�r!|d�|�dS||d<dS)Nrz�File cannot be provided as part of the '--terminology-data' argument. Please use the '--data-file' option instead to specify a file.r)�_unpack_argument�
ValueErrorr$r%)r&r'r(�unpackedrrrr*7s

z%TerminologyDataArgument.add_to_paramsNr+rrrrr6r/r)	r�awscli.argumentsrrrr	rrrrrrr�<module>s