MCPcopy
hub / github.com/docker/docker-py / __init__

Method __init__

docker/transport/unixconn.py:31–37  ·  view source on GitHub ↗
(self, base_url, socket_path, timeout=60, maxsize=10)

Source from the content-addressed store, hash-verified

29
30class UnixHTTPConnectionPool(urllib3.connectionpool.HTTPConnectionPool):
31 def __init__(self, base_url, socket_path, timeout=60, maxsize=10):
32 super().__init__(
33 'localhost', timeout=timeout, maxsize=maxsize
34 )
35 self.base_url = base_url
36 self.socket_path = socket_path
37 self.timeout = timeout
38
39 def _new_conn(self):
40 return UnixHTTPConnection(

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected