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__/cloudsearch.cpython-38.pyc
U

<�^��@s�ddlZddlmZmZddlmZe�e�Ze	e
e	e
d�Zdd�Zdded	d
d
ifdd
difg�d�id
dedd
d
ifdd
difddded�fdded�fdded�fdded�fdded�fdded�fd d!ed�fg	�d�id"�Z
d#d$�ZdS)%�N)�FlattenArguments�SEP)�OrderedDict)ZInt�DoubleZIntArrayZDoubleArraycCs�d|kri|d<d|dkr$td��|dd}d�dd�|�d�D��}|dkrVd	}|�t�d
dkr|t�|dd
��|�}|d|dkr�i|d|d<||d|d|�t�d
<dS)z�
    Hydrate an index-field option value to construct something like::

        {
            'index_field': {
                'DoubleOptions': {
                    'DefaultValue': 0.0
                }
            }
        }
    Z
IndexField�IndexFieldTypez You must pass the --type option.�cSsg|]}|���qS�)�
capitalize)�.0�irr�C/usr/lib/python3/dist-packages/awscli/customizations/cloudsearch.py�
<listcomp>2sz!index_hydrate.<locals>.<listcomp>�-ZLatlonZLatLon���ZDefaultValuecSs|S)Nr)�xrrr�<lambda><�zindex_hydrate.<locals>.<lambda>ZOptionsN)�RuntimeError�join�splitr�DEFAULT_VALUE_TYPE_MAP�get)ZparamsZ	containerZcli_type�key�valueZ_typerrr�
index_hydratesrZ
expressionFZExpressionName�nameZExpressionValue)ZkeepZflattenzindex-fieldZIndexFieldNamer�typezIntOptions.DefaultValuez
default-value�string)rr�hydratezIntOptions.FacetEnabledz
facet-enabled)rrzIntOptions.SearchEnabledzsearch-enabledzIntOptions.ReturnEnabledzreturn-enabledzIntOptions.SortEnabledzsort-enabledzTextOptions.HighlightEnabledzhighlight-enabledzTextOptions.AnalysisSchemezanalysis-scheme)zdefine-expressionzdefine-index-fieldcCstdt�}|�|�dS)z9
    The entry point for CloudSearch customizations.
    ZcloudsearchN)r�FLATTEN_CONFIG�register)ZcliZ	flattenedrrr�
initializeos
r!)ZloggingZawscli.customizations.flattenrrZbotocore.compatrZ	getLogger�__name__ZLOG�int�floatrrrr!rrrr�<module>sb
�*

���


�����������*