Skip to content

Commit c6cbe97

Browse files
committed
Fix type errors
1 parent 82ec7d0 commit c6cbe97

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dash/_callback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ def _prepare_response(
540540
allow_dynamic_callbacks,
541541
):
542542
"""Prepare the response object based on the callback output."""
543-
component_ids = collections.defaultdict(dict)
543+
component_ids: dict = collections.defaultdict(dict)
544544

545545
if has_output:
546546
if not multi:

dash/types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,4 @@ class CallbackDispatchResponse(TypedDict):
7373
multi: NotRequired[bool]
7474
response: NotRequired[Dict[str, CallbackOutput]]
7575
sideUpdate: NotRequired[Dict[str, CallbackSideOutput]]
76+
dist: NotRequired[List[Any]]

0 commit comments

Comments
 (0)