MCPcopy Create free account
hub / github.com/Kaggle/docker-python / set_request

Method set_request

tests/test_datasets.py:49–53  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47 class GetGcsPathHandler(GcsDatasetsHTTPHandler):
48
49 def set_request(self):
50 _request['path'] = self.path
51 content_len = int(self.headers.get('Content-Length'))
52 _request['body'] = json.loads(self.rfile.read(content_len))
53 _request['headers'] = self.headers
54
55 def get_response(self):
56 if success:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected