📂 FileMgr
📍
/
usr
/
lib
/
python3
/
dist-packages
/
botocore
/
docs
/
__pycache__
✏️ /usr/lib/python3/dist-packages/botocore/docs/__pycache__/paginator.cpython-312.pyc
✕ Tutup
� P��e<# � �r � d dl Z d dlmZ d dlmZ d dlmZ d dlmZ d dl m Z d dlmZ G d� d � Z dd �Zy)� N)� xform_name)�OrderedDict)�DocumentStructure)�document_model_driven_method)�DocumentedShape)�get_service_module_namec �$ � e Zd Zd� Zd� Zd� Zd� Zy)�PaginatorDocumenterc �� � || _ | j j j | _ | j j j j | _ || _ || _ d| _ y )NzMhttps://boto3.amazonaws.com/v1/documentation/api/latest/guide/paginators.html)�_client� __class__�__name__�_client_class_name�meta� service_model�service_name� _service_name�_service_paginator_model�_root_docs_path�_USER_GUIDE_LINK)�self�client�service_paginator_model�root_docs_paths �9/usr/lib/python3/dist-packages/botocore/docs/paginator.py�__init__zPaginatorDocumenter.__init__ s] � ����"&�,�,�"8�"8�"A�"A���!�\�\�.�.�<�<�I�I���(?��%�-��� @� �� c �R � |j j d� | j |� |j j � |j d� |j j � t | j j � }|D ]� }|j j | j � d|� �� t |d�� }| j ||� t j j | j | j d� }|j# ||� �� y)zhDocuments the various paginators for a service param section: The section to write to. � PaginatorszThe available paginators are:z/paginator/�html)�target� paginatorN)�style�h2� _add_overview�new_line�writeln�toctree�sortedr �_paginator_config�tocitemr r �_add_paginator�os�path�joinr � write_to_file)r �section�paginator_names�paginator_name�paginator_doc_structure�paginator_dir_paths r �document_paginatorsz'PaginatorDocumenter.document_paginators# s � � � � ����&����7�#�� � ��� ����7�8�� � ���� ��)�)�;�;� �� .� �N��M�M�!�!��%�%�&�k�.�1A�B� � '8��v�'�#� ��� 7��H� "$������$�$�d�&8�&8�+�"�� $�1�1�"�N� � r c �( � |j d� }|j j | j d| j � �� |j d|� �� |j |� |j |� }|j j | j � d|� ��� |j j � |j j � |j dt |� � d�� |j j � |j j � | j j |� }t ||| j j j"