ó
Ÿ}Lc           @   s†   d  Z  d d l Td d l m Z d d l m Z d d l m Z d d l m	 Z	 m
 Z
 d e f d „  ƒ  YZ d	 e f d
 „  ƒ  YZ d S(   s   
Suds basic options classes.
iÿÿÿÿ(   t   *(   t   Security(   t   Doctor(   t	   Transport(   t   Cachet   NoCachet   TpLinkerc           B   s   e  Z d  Z d „  Z RS(   s‰   
    Transport (auto) linker used to manage linkage between
    transport objects Properties and those Properties that contain them.
    c         C   s`   t  | t ƒ r. t | j ƒ } | j | ƒ n  t  | t ƒ r\ t | j ƒ } | j | ƒ n  d  S(   N(   t
   isinstanceR   t   Unskint   optionst   unlinkt   link(   t   selft
   propertiest   prevt   nextt   tp(    (    sF   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/suds/options.pyt   updated"   s    (   t   __name__t
   __module__t   __doc__R   (    (    (    sF   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/suds/options.pyR      s   t   Optionsc           B   s   e  Z d  Z d „  Z RS(   s
  
    Options:
        - B{cache} - The XML document cache.  May be set (None) for no caching.
                - type: L{Cache}
                - default: L{NoCache}
        - B{faults} - Raise faults raised by server,
            else return tuple from service method invocation as (httpcode, object).
                - type: I{bool}
                - default: True
        - B{service} - The default service name.
                - type: I{str}
                - default: None
        - B{port} - The default service port name, not tcp port.
                - type: I{str}
                - default: None
        - B{location} - This overrides the service port address I{URL} defined 
            in the WSDL.
                - type: I{str}
                - default: None
        - B{transport} - The message transport.
                - type: L{Transport}
                - default: None
        - B{soapheaders} - The soap headers to be included in the soap message.
                - type: I{any}
                - default: None
        - B{wsse} - The web services I{security} provider object.
                - type: L{Security}
                - default: None
        - B{doctor} - A schema I{doctor} object.
                - type: L{Doctor}
                - default: None
        - B{xstq} - The B{x}ml B{s}chema B{t}ype B{q}ualified flag indicates
            that the I{xsi:type} attribute values should be qualified by namespace.
                - type: I{bool}
                - default: True
        - B{prefixes} - Elements of the soap message should be qualified (when needed)
            using XML prefixes as opposed to xmlns="" syntax.
                - type: I{bool}
                - default: True
        - B{retxml} - Flag that causes the I{raw} soap envelope to be returned instead
            of the python object graph.
                - type: I{bool}
                - default: False
        - B{prettyxml} - Flag that causes I{pretty} xml to be rendered when generating
            the outbound soap envelope.
                - type: I{bool}
                - default: False
        - B{autoblend} - Flag that ensures that the schema(s) defined within the
            WSDL import each other.
                - type: I{bool}
                - default: False
        - B{cachingpolicy} - The caching policy.
                - type: I{int}
                  - 0 = Cache XML documents.
                  - 1 = Cache WSDL (pickled) object.
                - default: 0
        - B{plugins} - A plugin container.
                - type: I{list}
    c         K   s1  t  } t d t t ƒ  ƒ t d t t ƒ t d t d  t ƒ  ƒ t d t	 t
 f d  ƒ t d t	 t
 f d  ƒ t d t
 d  ƒ t d d d ƒ t d t d  ƒ t d	 t d  ƒ t d
 t t ƒ t d t t ƒ t d t t ƒ t d t t ƒ t d t t ƒ t d t	 d ƒ t d t t f g  ƒ g } t j |  | | | ƒ d  S(   Nt   cachet   faultst	   transportt   servicet   portt   locationt   soapheaderst   wsset   doctort   xstqt   prefixest   retxmlt	   prettyxmlt	   autoblendt   cachingpolicyi    t   plugins(    (    (   R   t
   DefinitionR   R   t   boolt   TrueR   t   NoneR   t   intt
   basestringR   R   t   Falset   listt   tuplet   Skint   __init__(   R   t   kwargst   domaint   definitions(    (    sF   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/suds/options.pyR0   g   s$    (   R   R   R   R0   (    (    (    sF   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/suds/options.pyR   +   s   ;N(   R   t   suds.propertiest	   suds.wsseR   t   suds.xsd.doctorR   t   suds.transportR   t
   suds.cacheR   R   t
   AutoLinkerR   R/   R   (    (    (    sF   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/suds/options.pyt   <module>   s   
