Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pyodide/pyodide
/ handler
Function
handler
src/tests/test_python_socket.py:65–68 ·
view source on GitHub ↗
(conn, _addr)
Source
from the content-addressed store, hash-verified
63
server_received = []
64
65
def
handler(conn, _addr):
66
data = conn.recv(1024)
67
server_received.append(data)
68
conn.sendall(RESPONSE_MESSAGE)
69
70
@run_in_pyodide
71
async
def
run(selenium, host, port, message):
Callers
1
_serve
Function · 0.85
Calls
4
recv
Method · 0.80
sendall
Method · 0.80
append
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…