Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ This project adheres to [Semantic Versioning](https://semver.org/).

## [UNRELEASED]

## Added
- [#3369](https://github.com/plotly/dash/pull/3369) Expose `dash.NoUpdate` type

## Fixed
- [#3353](https://github.com/plotly/dash/pull/3353) Support pattern-matching/dict ids in `dcc.Loading` `target_components`

Expand Down
2 changes: 2 additions & 0 deletions dash/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
get_relative_path,
strip_relative_path,
)
from ._no_update import NoUpdate # noqa: F401,E402
from .background_callback import ( # noqa: F401,E402
CeleryManager,
DiskcacheManager,
Expand Down Expand Up @@ -86,6 +87,7 @@ def _jupyter_nbextension_paths():
"page_registry",
"Dash",
"no_update",
"NoUpdate",
"page_container",
"Patch",
"jupyter_dash",
Expand Down
2 changes: 1 addition & 1 deletion dash/_no_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ def to_plotly_json(self): # pylint: disable=no-self-use

@staticmethod
def is_no_update(obj):
return isinstance(obj, NoUpdate) or (
return obj is NoUpdate or isinstance(obj, NoUpdate) or (
isinstance(obj, dict) and obj == {"_dash_no_update": "_dash_no_update"}
)