def __init__(self, socket): Transport.__init__(self) def connect(self): self.sock = socket connection = six.moves.http_client.HTTPConnection connection.connect = connect
def __init__(self, *args, **kwargs): self.socket_path = kwargs.pop('socket_path', '') Transport.__init__(self, *args, **kwargs)
def __init__(self, timeout=socket._GLOBAL_DEFAULT_TIMEOUT, *args, **kwargs): Transport.__init__(self, *args, **kwargs) self._timeout = timeout
def __init__(self, timeout, *args, **kwargs): Transport.__init__(self, *args, **kwargs) self.timeout = timeout
def __init__(self, *args, **kwargs): self.socket_path = kwargs.pop("socket_path", "") Transport.__init__(self, *args, **kwargs)