Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pyscript/pyscript
/ camera_click
Function
camera_click
core/tests/manual/camera.py:26–28 ·
view source on GitHub ↗
Take a picture and download it.
(e)
Source
from the content-addressed store, hash-verified
24
25
@when(
"click"
,
"#snap"
)
26
async
def
camera_click(e):
27
""
"Take a picture and download it."
""
28
video.snap().download()
29
30
31
await list_media_devices()
Callers
nothing calls this directly
Calls
2
download
Method · 0.80
snap
Method · 0.80
Tested by
no test coverage detected