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

Method _set_request_timeout

docker/api/client.py:234–238  ·  view source on GitHub ↗

Prepare the kwargs for an HTTP request by inserting the timeout parameter, if not already present.

(self, kwargs)

Source from the content-addressed store, hash-verified

232 ) from e
233
234 def _set_request_timeout(self, kwargs):
235 """Prepare the kwargs for an HTTP request by inserting the timeout
236 parameter, if not already present."""
237 kwargs.setdefault('timeout', self.timeout)
238 return kwargs
239
240 @update_headers
241 def _post(self, url, **kwargs):

Callers 4

_postMethod · 0.95
_getMethod · 0.95
_putMethod · 0.95
_deleteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected