Skip to content

Commit 2f84022

Browse files
committed
Fix test_grouped_callbacks.
1 parent 6623750 commit 2f84022

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dash/_callback.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,9 @@ def wrap_func(func):
337337
def add_context(*args, **kwargs):
338338
output_spec = kwargs.pop("outputs_list")
339339
app_callback_manager = kwargs.pop("long_callback_manager", None)
340-
callback_ctx = kwargs.pop("callback_context", {})
340+
callback_ctx = kwargs.pop(
341+
"callback_context", AttributeDict({"updated_props": {}})
342+
)
341343
callback_manager = long and long.get("manager", app_callback_manager)
342344
if not no_output:
343345
_validate.validate_output_spec(insert_output, output_spec, Output)

0 commit comments

Comments
 (0)