MCPcopy
hub / github.com/pyodide/pyodide / f

Function f

src/tests/test_pyproxy.py:1209–1210  ·  view source on GitHub ↗
(x=2, y=3)

Source from the content-addressed store, hash-verified

1207 from pyodide.ffi import JsException, to_js
1208
1209 def f(x=2, y=3):
1210 return to_js([x, y])
1211
1212 def assert_call(s, val):
1213 res = run_js(f"(f) => {s}")(f)

Calls 1

to_jsFunction · 0.85

Tested by

no test coverage detected