Skip to content

Commit a1bd54f

Browse files
BSd3vT4rk1n
andauthored
Update dash/_callback.py
Co-authored-by: Philippe Duval <[email protected]>
1 parent e88bc3c commit a1bd54f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash/_callback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def _initialize_context(args, kwargs, inputs_state_indices, has_output, insert_o
345345
)
346346

347347

348-
def _get_callback_manager(kwargs, background):
348+
def _get_callback_manager(kwargs: dict, background: dict) -> Union[BaseBackgroundCallbackManager, None]:
349349
"""Set up the background callback and manage jobs."""
350350
callback_manager = background.get(
351351
"manager", kwargs.get("background_callback_manager", None)

0 commit comments

Comments
 (0)