o
    $`^h	                     @   sN   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__
EVENT_NAME r	   r	   M/home/air/shanriGPT/back/venv/lib/python3.10/site-packages/boto3/docs/attr.pyr      s    r   Tc                 C   sB   |r| j dd | }| j| t|||dj| |d d S )N	qualifier )service_nameoperation_nameevent_emitter)sectionshape)contextgetstylestart_sphinx_py_attrr   document_params)r   r   resource_name	attr_namer   
attr_modelinclude_signaturefull_attr_namer	   r	   r
   document_attribute   s   	
r   c                 C   sH   |r| j dd |j }| j| t||j}| d|  d S )Nr   r   z*(string)* )r   r   namer   r   r   write)r   r   identifier_modelr   full_identifier_namedescriptionr	   r	   r
   document_identifier-   s   r"   c                 C   sZ   |r| j dd |j }| j| d|jj d}| | | d|j d d S )Nr   r   z(:py:class:`z`) zThe related z if set, otherwise ``None``.)	r   r   r   r   r   resourcetyper   include_doc_string)r   reference_modelr   full_reference_namereference_typer	   r	   r
   document_reference>   s   
r)   N)T)botocore.docs.paramsr   boto3.docs.utilsr   r   r   r"   r)   r	   r	   r	   r
   <module>   s   

