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

Method log_request

python/scripts/run_emscripten_tests.py:46–50  ·  view source on GitHub ↗
(self, code="-", size="-")

Source from the content-addressed store, hash-verified

44 pass
45
46 def log_request(self, code="-", size="-"):
47 # don't log successful requests but log errors
48 if isinstance(code, int) and code >= 400:
49 sys.stderr.write(f"HTTP {code} for {self.path}\n")
50 return
51
52 def do_GET(self) -> bytes | None:
53 if self.path.endswith(PYARROW_WHEEL_PATH.name):

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected