Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
botocore
/
docs
/
File Content:
waiter.pyc
� ?��Xc @ sV d d l m Z d d l m Z d d l m Z d e f d � � YZ e d � Z d S( i����( t xform_name( t get_service_module_name( t document_model_driven_methodt WaiterDocumenterc B s# e Z d � Z d � Z d � Z RS( c C s+ | | _ | j j j j | _ | | _ d S( N( t _clientt metat service_modelt service_namet _service_namet _service_waiter_model( t selft clientt service_waiter_model( ( s6 /tmp/pip-build-uEGWVr/botocore/botocore/docs/waiter.pyt __init__ s c C sx | j j d � | j j � | j d � xG | j j D]9 } | j j d | j j j | f � | j | | � q7 Wd S( sg Documents the various waiters for a service. :param section: The section to write to. t Waiterss The available waiters are:s :py:class:`%s.Waiter.%s`N( t stylet h2t new_linet writelnR t waiter_namest liR t __class__t __name__t _add_single_waiter( R t sectiont waiter_name( ( s6 /tmp/pip-build-uEGWVr/botocore/botocore/docs/waiter.pyt document_waiters s c C s� | j | � } | j j d d | j j j | f � | j j � | j j � | j d t | � � | j j � | j j � t d | d | d | j j j d | j j j d | j � d S( Nt class_names %s.Waiter.%ss waiter = client.get_waiter('%s')R R t event_emitterR R ( t add_new_sectionR t start_sphinx_py_classR R R t start_codeblockR t writeR t end_codeblockt document_wait_methodR t eventsR R ( R R R ( ( s6 /tmp/pip-build-uEGWVr/botocore/botocore/docs/waiter.pyR &