MCPcopy Index your code
hub / github.com/docker/docker-py / __init__

Method __init__

docker/transport/unixconn.py:15–21  ·  view source on GitHub ↗
(self, base_url, unix_socket, timeout=60)

Source from the content-addressed store, hash-verified

13class UnixHTTPConnection(urllib3.connection.HTTPConnection):
14
15 def __init__(self, base_url, unix_socket, timeout=60):
16 super().__init__(
17 'localhost', timeout=timeout
18 )
19 self.base_url = base_url
20 self.unix_socket = unix_socket
21 self.timeout = timeout
22
23 def connect(self):
24 sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected