Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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)
Callers
7
test_as_json_adaptor_heritability1
Function · 0.70
test_as_json_adaptor_heritability2
Function · 0.70
test_as_json_adaptor_ownkeys
Function · 0.70
test_as_json_adaptor_stringify
Function · 0.70
test_bind_call_convert
Function · 0.70
test_bind_call_bind_return_value
Function · 0.70
test_bind__call__
Function · 0.70
Calls
1
to_js
Function · 0.85
Tested by
no test coverage detected