MCPcopy Create free account
hub / github.com/apache/arrow / _download_requests

Function _download_requests

python/pyarrow/util.py:241–245  ·  view source on GitHub ↗
(url, out_path)

Source from the content-addressed store, hash-verified

239
240
241def _download_requests(url, out_path):
242 import requests
243 with requests.get(url) as response:
244 with open(out_path, 'wb') as f:
245 f.write(response.content)
246
247
248# TODO(GH-48593): Remove when libc++ supports std::chrono timezone

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected