Skip to content

Commit e2447fe

Browse files
committed
🙈 stale commit
1 parent 31a832e commit e2447fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dash/dash.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@ def add_context(*args, **kwargs):
13581358
has_update = False
13591359
for i, o in enumerate(output):
13601360
val = output_value[i]
1361-
if val is not no_update:
1361+
if not isinstance(val, _NoUpdate):
13621362
has_update = True
13631363
o_id, o_prop = o.component_id, o.component_property
13641364
component_ids[o_id][o_prop] = val
@@ -1368,7 +1368,7 @@ def add_context(*args, **kwargs):
13681368

13691369
response = {"response": component_ids, "multi": True}
13701370
else:
1371-
if output_value is no_update:
1371+
if isinstance(output_value, _NoUpdate):
13721372
raise exceptions.PreventUpdate
13731373

13741374
response = {

0 commit comments

Comments
 (0)