Current File : //proc/self/root/lib/python3/dist-packages/botocore/docs/__pycache__/params.cpython-312.pyc |
�
P��e�- � �^ � d dl mZ d dlmZ G d� de� Z G d� de� Z G d� de� Zy )
� )�ShapeDocumenter)�py_type_namec �d � e Zd Zd
d�Zd� Z d
d�Z d
d�Z d
d�Z dd�Zd� Z d � Z
d
� Zd� Zd� Z
y)�BaseParamsDocumenterNc �6 � g }| j |||d||�� y)a3 Fills out the documentation for a section given a model shape.
:param section: The section to write the documentation to.
:param shape: The shape of the operation.
:type include: Dictionary where keys are parameter names and
values are the shapes of the parameter names.
:param include: The parameter shapes to include in the documentation.
:type exclude: List of the names of the parameters to exclude.
:param exclude: The names of the parameters to exclude from
documentation.
N)�section�shape�history�name�include�exclude)�traverse_and_document_shape)�selfr r r r
r
s �6/usr/lib/python3/dist-packages/botocore/docs/params.py�document_paramsz$BaseParamsDocumenter.document_params s. � � ���(�(�������
)�
� c �, � | j ||fi |�� y �N��_add_member_documentation�r r r �kwargss r �document_recursive_shapez-BaseParamsDocumenter.document_recursive_shape+ s � �&��&�&�w��@��@r c �, � | j ||fi |�� y r r )r r r r
r r
r s r �document_shape_defaultz+BaseParamsDocumenter.document_shape_default. s � � '��&�&�w��@��@r c �: � | j ||fi |�� |j }|j |j d|j j i�� }| j |� | j |||d �� |j d� }| j
|� y )Nr ��context�r r r
r zend-list)r �member�add_new_sectionr �_start_nested_paramr �_end_nested_param) r r r r
r r
r �param_shape�
param_sections r �document_shape_type_listz-BaseParamsDocumenter.document_shape_type_list3 s� � � '��&�&�w��@��@��l�l���/�/����w����0A�0A�&B� 0�
�
�
� � ��/��(�(�!���� )�
� �)�)�*�5�����w�'r c �L � | j ||fi |�� |j dd|j j i�� }| j |� | j ||j � |j |j
j d|j
j i�� }|j j � | j |� | j ||j
|d �� |j d� } | j | � | j | � y )N�keyr r r zend-map)
r r! r( r r"