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

Function run_server_thread

python/scripts/run_emscripten_tests.py:127–133  ·  view source on GitHub ↗
(dist_dir, q)

Source from the content-addressed store, hash-verified

125
126
127def run_server_thread(dist_dir, q):
128 global _SERVER_ADDRESS
129 os.chdir(dist_dir)
130 server = http.server.HTTPServer(("127.0.0.1", 0), TemplateOverrider)
131 q.put(server.server_address)
132 print(f"Starting server for {dist_dir} at: {server.server_address}")
133 server.serve_forever()
134
135
136@contextlib.contextmanager

Callers

nothing calls this directly

Calls 1

putMethod · 0.80

Tested by

no test coverage detected