Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-websockets/websockets
/ main
Function
main
example/tutorial/step1/app.py:59–61 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
57
58
59
async
def
main():
60
async
with
serve(handler,
""
, 8001)
as
server:
61
await server.serve_forever()
62
63
64
if
__name__ ==
"__main__"
:
Callers
1
app.py
File · 0.70
Calls
2
serve
Function · 0.90
serve_forever
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…