Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pyscript/pyscript
/ foo
Function
foo
core/tests/python/tests/test_events.py:281–284 ·
view source on GitHub ↗
(evt)
Source
from the content-addressed store, hash-verified
279
280
@when(
"click"
, selector=
"#foo_id"
)
281
def
foo(evt):
282
nonlocal called
283
called = evt
284
call_flag.set()
285
286
btn.click()
287
await call_flag.wait()
Callers
nothing calls this directly
Calls
1
set
Method · 0.45
Tested by
no test coverage detected