Skip to content

Commit 538515d

Browse files
committed
fixing no outputs
1 parent a730b4b commit 538515d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dash/dash.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,8 +1345,10 @@ def _prepare_callback(self, g, body):
13451345
inputs_state_indices = cb["inputs_state_indices"]
13461346
inputs_state = convert_to_AttributeDict(g.inputs_list + g.states_list)
13471347

1348-
# Legacy support for older renderers
1349-
if not g.outputs_list:
1348+
if cb.get("no_output"):
1349+
g.outputs_list = []
1350+
elif not g.outputs_list:
1351+
# Legacy support for older renderers
13501352
split_callback_id(output)
13511353

13521354
# Update args_grouping attributes

0 commit comments

Comments
 (0)