MCPcopy
hub / github.com/plotly/dash / test_callback_with_background_params

Function test_callback_with_background_params

tests/unit/test_callback_unit.py:114–122  ·  view source on GitHub ↗

Test that callback accepts background callback parameters.

()

Source from the content-addressed store, hash-verified

112
113
114def test_callback_with_background_params():
115 """Test that callback accepts background callback parameters."""
116 decorator = callback(
117 Output("output", "children"),
118 Input("input", "value"),
119 background=False,
120 interval=1000,
121 )
122 assert callable(decorator)
123
124
125def test_callback_module_export():

Callers

nothing calls this directly

Calls 3

callbackFunction · 0.90
OutputClass · 0.90
InputClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…