U
    Fe                     @   sJ   d dl mZ d dlmZ G dd deZdddZddd	Zdd
dZdS )    )ResponseParamsDocumenter)get_identifier_descriptionc                   @   s   e Zd ZdZdS )ResourceShapeDocumenterzresource-shapeN)__name__
__module____qualname__Z
EVENT_NAME r   r   k/var/www/nmhs-web.org.in/public_html/infoladakh/backend/venv/lib/python3.8/site-packages/boto3/docs/attr.pyr      s   r   Tc                 C   s,   |r| j | t|||dj| |d d S )N)service_nameZoperation_nameevent_emitter)sectionshape)stylestart_sphinx_py_attrr   Zdocument_params)r   r
   resource_name	attr_namer   Z
attr_modelinclude_signaturer   r   r	   document_attribute   s     r   c                 C   s4   |r| j |j t||j}d| }| | d S )Nz*(string)* )r   r   namer   write)r   r   Zidentifier_modelr   descriptionr   r   r	   document_identifier%   s     r   c                 C   s<   |r| j |j d|jj }| | | d|j  d S )Nz(:py:class:`%s`) z*The related %s if set, otherwise ``None``.)r   r   r   resourcetyper   Zinclude_doc_string)r   Zreference_modelr   Zreference_typer   r   r	   document_reference/   s    
r   N)T)T)T)Zbotocore.docs.paramsr   Zboto3.docs.utilsr   r   r   r   r   r   r   r   r	   <module>   s    
 

