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

Method execute_js

python/scripts/run_emscripten_tests.py:177–178  ·  view source on GitHub ↗
(self, code, wait_for_terminate=True)

Source from the content-addressed store, hash-verified

175 buffer = buffer[written:]
176
177 def execute_js(self, code, wait_for_terminate=True):
178 self.write_stdin((code + "\n").encode("utf-8"))
179
180 def load_arrow(self):
181 self.execute_js(f"await pyodide.loadPackage('{PYARROW_WHEEL_PATH}');")

Callers 3

load_pyodideMethod · 0.95
load_arrowMethod · 0.95
execute_pythonMethod · 0.95

Calls 2

write_stdinMethod · 0.95
encodeMethod · 0.45

Tested by

no test coverage detected