Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
botocore
/
docs
/
File Content:
shape.pyc
� ?��Xc @ s* d d l m Z d e f d � � YZ d S( i����( t is_json_value_headert ShapeDocumenterc B sJ e Z d Z d d � Z d d d e d � Z d � Z d � Z d � Z RS( t c C sG | | _ | | _ | | _ | | _ | d k rC i i d 6| _ n d S( Nt special_shape_types( t _service_namet _operation_namet _event_emittert _contextt None( t selft service_namet operation_namet event_emittert context( ( s5 /tmp/pip-build-uEGWVr/botocore/botocore/docs/shape.pyt __init__ s c C s$ | j } | j | k r1 | j | | d | �n� | j | j � t | � d k } t | d | | j � | | d | d | d | d | d | d | �| r� | j j d | j | j | j | f d | �n t | � d k } | r| j j d | j | j | j f d | �n | j � d S( s� Traverses and documents a shape Will take a self class and call its appropriate methods as a shape is traversed. :param section: The section to document. :param history: A list of the names of the shapes that have been traversed. :type include: Dictionary where keys are parameter names and values are the shapes of the parameter names. :param include: The parameter shapes to include in the documentation. :type exclude: List of the names of the parameters to exclude. :param exclude: The names of the parameters to exclude from documentation. :param name: The name of the shape. :param is_required: If the shape is a required member. t namei s document_shape_type_%st historyt includet excludet is_top_level_paramt is_requireds docs.%s.%s.%s.%st sectioni s docs.%s.%s.%s.complete-sectionN( t type_nameR t document_recursive_shapet appendt lent getattrt document_shape_defaultR t emitt EVENT_NAMER R t pop( R R t shapeR R R R R t param_typeR t at_overlying_method_section( ( s5 /tmp/pip-build-uEGWVr/botocore/botocore/docs/shape.pyt traverse_and_document_shape$ s4 c C s+ i d d 6d d 6d d 6} | j | | � S( Ns( {...}|[...]|123|123.4|'string'|True|Nonet jsonvalue_headers b'bytes'|filet streaming_input_shapes StreamingBody()t streaming_output_shape( t _get_value_for_special_type( R R t special_defaults( ( s5 /tmp/pip-build-uEGWVr/botocore/botocore/docs/shape.pyt _get_special_py_defaultY s c C s+ i d d 6d d 6d d 6} | j | | � S( Ns JSON serializableR# s"