MCPcopy Create free account
hub / github.com/GlobalTechInfo/MEGA-MD / __init__

Method __init__

lib/speed.py:421–430  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

419 Python 2.4 - Python 3
420 """
421 def __init__(self, *args, **kwargs):
422 source_address = kwargs.pop('source_address', None)
423 timeout = kwargs.pop('timeout', 10)
424
425 self._tunnel_host = None
426
427 HTTPConnection.__init__(self, *args, **kwargs)
428
429 self.source_address = source_address
430 self.timeout = timeout
431
432 def connect(self):
433 """Connect to the host and port specified in __init__."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected