§
    9xÅj@  ã                   ó¦   — d dl mZ d dlmZ d dlmZ d dlmZ  G d„ de¦  «        Z	 G d„ de	¦  «        Z
 G d	„ d
e	¦  «        Z G d„ de	¦  «        ZdS )é    )ÚDocumentStructure©Údocument_model_driven_method©Údocument_paginate_method©Údocument_wait_methodc                   óP   ‡ — e Zd ZdZˆ fd„Zˆ fd„Zd„ Zd
d„Zd„ ZeZ	d„ Z
d	„ Zˆ xZS )ÚLazyLoadedDocstringa0  Used for lazily loading docstrings

    You can instantiate this class and assign it to a __doc__ value.
    The docstring will not be generated till accessed via __doc__ or
    help(). Note that all docstring classes **must** subclass from
    this class. It cannot be used directly as a docstring.
    c                 ór   •— t          ¦   «                              ¦   «          || _        || _        d| _        dS )z¥
        The args and kwargs are the same as the underlying document
        generation function. These just get proxied to the underlying
        function.
        N)ÚsuperÚ__init__Ú	_gen_argsÚ_gen_kwargsÚ
_docstring)ÚselfÚargsÚkwargsÚ	__class__s      €úHC:\Projects\Historical\venv\Lib\site-packages\botocore/docs/docstring.pyr   zLazyLoadedDocstring.__init__   s5   ø€ õ 	‰Œ×ÒÑÔÐØˆŒØ!ˆÔØˆŒˆˆó    c                 óF   •— t          ¦   «                              | ¦  «        S ©N)r   Ú__new__)Úclsr   r   r   s      €r   r   zLazyLoadedDocstring.__new__'   s   ø€ å‰wŒw�Š˜sÑ#Ô#Ð#r   c                 ó    — t          d¦  «        ‚)Nzq_write_docstring is not implemented. Please subclass from this class and provide your own _write_docstring method)ÚNotImplementedError©r   r   r   s      r   Ú_write_docstringz$LazyLoadedDocstring._write_docstring+   s   € Ý!ðFñ
ô 
ð 	
r   é   c                 ól   — | j         €|                      ¦   «          | j                              |¦  «        S )a™  Expands tabs to spaces

        So this is a big hack in order to get lazy loaded docstring work
        for the ``help()``. In the ``help()`` function, ``pydoc`` and
        ``inspect`` are used. At some point the ``inspect.cleandoc``
        method is called. To clean the docs ``expandtabs`` is called
        and that is where we override the method to generate and return the
        docstrings.
        )r   Ú	_generateÚ
expandtabs)r   Útabsizes     r   r#   zLazyLoadedDocstring.expandtabs1   s2   € ð Œ?Ð"Ø�NŠNÑÔÐØŒ×)Ò)¨'Ñ2Ô2Ð2r   c                 ó*   — |                       ¦   «         S r   )r"   ©r   s    r   Ú__str__zLazyLoadedDocstring.__str__?   s   € Ø�~Š~ÑÔÐr   c                 óP   — | j         €|                      ¦   «         | _         | j         S r   )r   Ú_create_docstringr&   s    r   r"   zLazyLoadedDocstring._generateE   s%   € àŒ?Ð"Ø"×4Ò4Ñ6Ô6ˆDŒOØŒÐr   c                 ó¨   — t          dd¬¦  «        } | j        |g| j        ¢R i | j        ¤Ž |                     ¦   «                              d¦  «        S )NÚ	docstringÚhtml)Útargetzutf-8)r   r   r   r   Úflush_structureÚdecode)r   Údocstring_structures     r   r)   z%LazyLoadedDocstring._create_docstringK   sr   € Ý/°ÀFÐKÑKÔKÐð 	ˆÔØð	
Ø"&¤.ð	
ð 	
ð 	
Ø48Ô4Dð	
ð 	
ð 	
ð #×2Ò2Ñ4Ô4×;Ò;¸GÑDÔDÐDr   )r    )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r#   r'   Ú__repr__r"   r)   Ú__classcell__)r   s   @r   r   r      s¹   ø€ € € € € ðð ð	ð 	ð 	ð 	ð 	ð$ð $ð $ð $ð $ð
ð 
ð 
ð3ð 3ð 3ð 3ð ð  ð  ð €Hðð ð ðEð Eð Eð Eð Eð Eð Er   r   c                   ó   — e Zd Zd„ ZdS )ÚClientMethodDocstringc                 ó   — t          |i |¤Ž d S r   r   r   s      r   r   z&ClientMethodDocstring._write_docstringV   s   € Ý$ dÐ5¨fÐ5Ð5Ð5Ð5Ð5r   N©r1   r2   r3   r   © r   r   r8   r8   U   s#   € € € € € ð6ð 6ð 6ð 6ð 6r   r8   c                   ó   — e Zd Zd„ ZdS )ÚWaiterDocstringc                 ó   — t          |i |¤Ž d S r   r   r   s      r   r   z WaiterDocstring._write_docstring[   s   € Ý˜dÐ- fÐ-Ð-Ð-Ð-Ð-r   Nr:   r;   r   r   r=   r=   Z   s#   € € € € € ð.ð .ð .ð .ð .r   r=   c                   ó   — e Zd Zd„ ZdS )ÚPaginatorDocstringc                 ó   — t          |i |¤Ž d S r   r   r   s      r   r   z#PaginatorDocstring._write_docstring`   s   € Ý  $Ð1¨&Ð1Ð1Ð1Ð1Ð1r   Nr:   r;   r   r   r@   r@   _   s#   € € € € € ð2ð 2ð 2ð 2ð 2r   r@   N)Úbotocore.docs.bcdoc.restdocr   Úbotocore.docs.methodr   Úbotocore.docs.paginatorr   Úbotocore.docs.waiterr	   Ústrr   r8   r=   r@   r;   r   r   ú<module>rG      s  ðð :Ð 9Ð 9Ð 9Ð 9Ð 9Ø =Ð =Ð =Ð =Ð =Ð =Ø <Ð <Ð <Ð <Ð <Ð <Ø 5Ð 5Ð 5Ð 5Ð 5Ð 5ð?Eð ?Eð ?Eð ?Eð ?E˜#ñ ?Eô ?Eð ?EðD6ð 6ð 6ð 6ð 6Ð/ñ 6ô 6ð 6ð
.ð .ð .ð .ð .Ð)ñ .ô .ð .ð
2ð 2ð 2ð 2ð 2Ð,ñ 2ô 2ð 2ð 2ð 2r   