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

Method log_request

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

Source from the content-addressed store, hash-verified

35
36class TemplateOverrider(http.server.SimpleHTTPRequestHandler):
37 def log_request(self, code="-", size="-"):
38 # don't log successful requests but log errors
39 if isinstance(code, int) and code >= 400:
40 sys.stderr.write(f"HTTP {code} for {self.path}\n")
41 return
42
43 def do_GET(self) -> bytes | None:
44 if self.path.endswith(PYARROW_WHEEL_PATH.name):

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected