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/eks/__pycache__/ordered_yaml.cpython-310.pyc
o

.&�aH�@s|ddlZddlmZGdd�dej�ZGdd�dej�Zdd�Ze�ej	j
je�d	d
�Ze�
ee�dd�Zdd
d�ZdS)�N)�OrderedDictc@�eZdZdZdS)�SafeOrderedLoaderz- Safely load a yaml file into an OrderedDict.N��__name__�
__module__�__qualname__�__doc__�r
r
�H/usr/lib/python3/dist-packages/awscli/customizations/eks/ordered_yaml.pyr�rc@r)�SafeOrderedDumperz$ Safely dump an OrderedDict as yaml.Nrr
r
r
rr
rr
cCs|�|�t|�|��S�N)�flatten_mappingr�construct_pairs)�loader�noder
r
r�_ordered_constructors
rcCs|�tjjj|���Sr)�represent_mapping�yaml�resolver�BaseResolver�DEFAULT_MAPPING_TAG�items)�dumper�datar
r
r�_ordered_representer$s�rcCst�|t�S)z/ Load an OrderedDict object from a yaml stream.)r�loadr)�streamr
r
r�ordered_yaml_load-srcCstj||tdd�S)z�
    Dump an OrderedDict object to yaml.

    :param to_dump: The OrderedDict to dump
    :type to_dump: OrderedDict

    :param stream: The file to dump to
    If not given or if None, only return the value
    :type stream: file
    F)�default_flow_style)r�dumpr
)�to_dumprr
r
r�ordered_yaml_dump2s�r#r)r�botocore.compatr�
SafeLoaderr�
SafeDumperr
r�add_constructorrrrr�add_representerrr#r
r
r
r�<module>s
�