Current File : //proc/self/root/lib/python3/dist-packages/botocore/docs/bcdoc/__pycache__/restdoc.cpython-312.pyc |
�
P��e�% � �� � d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ dZ ej d� ZdZ e j d� Zd d
d�dd
d�dd
d�dd
d�d�Zdddd�Z G d� d� Z G d� de� Zy)� N)�OrderedDict)�DocStringParser)� ReSTStylez&https://docs.aws.amazon.com/index.htmlzX`AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/[a-z0-9-.]*/[a-zA-Z]*>`_z�
**{}**
::
# This section is too large to render.
# Please see the AWS API Documentation linked below.
{}
�bcdocszResponse Syntaxi� )�name�
line_limitzResponse Structurei� zRequest Syntax�
Parameters)zresponse-example�descriptionzrequest-examplezrequest-params� � )z
client-apiz
paginator-apiz
waiter-apic �V � e Zd Zdd�Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
d� Zy
)�ReSTDocumentc � � t | � | _ || _ t | � | _ d| _ d| _ i | _ i | _ g | _ d | _
y )NTF)r �style�targetr �parser� keep_data�do_translation�translation_map�hrefs�_writes�_last_doc_string)�selfr s �=/usr/lib/python3/dist-packages/botocore/docs/bcdoc/restdoc.py�__init__zReSTDocument.__init__3 sM � ��t�_��
����%�d�+������#���!�����
���� $��� c �Z � | j r|�| j j |� y y y �N)r r �append�r �ss r �_writezReSTDocument._write>