Skip to content

Commit 9827157

Browse files
committed
add obj is NoUpdate
1 parent d07e522 commit 9827157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash/_no_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ def to_plotly_json(self): # pylint: disable=no-self-use
44

55
@staticmethod
66
def is_no_update(obj):
7-
return isinstance(obj, NoUpdate) or (
7+
return obj is NoUpdate or isinstance(obj, NoUpdate) or (
88
isinstance(obj, dict) and obj == {"_dash_no_update": "_dash_no_update"}
99
)

0 commit comments

Comments
 (0)