def __init__(self): """ Constructor. """ Transport.__init__(self) from suds.transport.options import Options self.options = Options() del Options self._contextFactory = None
def __init__(self): """ Constructor. """ Transport.__init__(self) from suds.transport.options import Options self.options = Options() del Options self._httpsPolicy = None
def __init__(self, **kwargs): """ @param kwargs: Keyword arguments. - B{proxy} - An http proxy to be specified on requests. The proxy is defined as {protocol:proxy,} - type: I{dict} - default: {} - B{timeout} - Set the url open timeout (seconds). - type: I{float} - default: 90 """ Transport.__init__(self) Unskin(self.options).update(kwargs) self.cookiejar = CookieJar() self.proxy = {} self.urlopener = None
def __init__(self, session=None, **kwargs): Transport.__init__(self) Unskin(self.options).update(kwargs) self.session = session or Session() # Suds expects support for local files URIs. self.session.mount('file://', FileAdapter())
def __init__(self, service): Transport.__init__(self) self._service = service
def __init__(self): Transport.__init__(self)