https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/boto/cloudsearch/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/boto/cloudsearch/__pycache__/sourceattribute.cpython-310.pyc
o

ckF[T�@sGdd�de�ZdS)c@s6eZdZdZdZdd�Zedd��Zejdd��ZdS)	�SourceAttributeaL
    Provide information about attributes for an index field.
    A maximum of 20 source attributes can be configured for
    each index field.

    :ivar default: Optional default value if the source attribute
        is not specified in a document.
        
    :ivar name: The name of the document source field to add
        to this ``IndexField``.

    :ivar data_function: Identifies the transformation to apply
        when copying data from a source attribute.
        
    :ivar data_map: The value is a dict with the following keys:
        * cases - A dict that translates source field values
            to custom values.
        * default - An optional default value to use if the
            source attribute is not specified in a document.
        * name - the name of the document source field to add
            to this ``IndexField``
    :ivar data_trim_title: Trims common title words from a source
        document attribute when populating an ``IndexField``.
        This can be used to create an ``IndexField`` you can
        use for sorting.  The value is a dict with the following
        fields:
        * default - An optional default value.
        * language - an IETF RFC 4646 language code.
        * separator - The separator that follows the text to trim.
        * name - The name of the document source field to add.
    )�Copy�	TrimTitle�MapcCs"i|_|jd|_i|_i|_dS)N�)�	data_copy�ValidDataFunctions�_data_function�data_map�data_trim_title��self�r
�B/usr/lib/python3/dist-packages/boto/cloudsearch/sourceattribute.py�__init__;s
zSourceAttribute.__init__cCs|jS)N)rrr
r
r�
data_functionAszSourceAttribute.data_functioncCs,||jvrd�|j�}td|��||_dS)N�|z data_function must be one of: %s)r�join�
ValueErrorr)r�value�validr
r
rrEs

N)	�__name__�
__module__�__qualname__�__doc__rr�propertyr�setterr
r
r
rrs 
rN)�objectrr
r
r
r�<module>s

https://t.me/RX1948 - 2025