Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/plotly/dash
/ decorator
Method
decorator
dash/_hooks.py:271–273 ·
view source on GitHub ↗
(func: _t.Callable)
Source
from the content-addressed store, hash-verified
269
""
"
270
271
def
decorator(func: _t.Callable):
272
self.add_hook(
"websocket_connect"
, func, priority=priority, final=final)
273
return
func
274
275
return
decorator
276
Callers
nothing calls this directly
Calls
1
add_hook
Method · 0.95
Tested by
no test coverage detected