MCPcopy Index your code
hub / github.com/plotly/dash / x

Function x

tests/integration/devtools/test_callback_timing.py:12–15  ·  view source on GitHub ↗
(y)

Source from the content-addressed store, hash-verified

10
11 @app.callback(Output("x", "p"), Input("y", "q"))
12 def x(y):
13 callback_context.record_timing("pancakes", 1.23)
14 sleep(0.5)
15 return y
16
17 dash_thread_server(app, debug=True, use_reloader=False, use_debugger=True)
18

Callers

nothing calls this directly

Calls 1

record_timingMethod · 0.80

Tested by

no test coverage detected