Skip to content

Commit 71273bb

Browse files
authored
Merge pull request #3273 from plotly/fix-hook-plugin
Fix dash_hooks plugin entry point
2 parents 4341a9c + a9b36ae commit 71273bb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
77
## Fixed
88
- [#3264](https://github.com/plotly/dash/pull/3264) Fixed an issue where moving components inside of children would not update the `setProps` path, leading to hashes being incorrect
99
- [#3265](https://github.com/plotly/dash/pull/3265) Fixed issue where the resize of graphs was cancelling others
10+
- [#3273](https://github.com/plotly/dash/pull/3273) Fix hooks entry point, renamed from invalid hyphen `dash-hooks` to underscored `dash_hooks`. Fix [#3272](https://github.com/plotly/dash/issues/3272)
1011

1112
## Added
1213
- [#3268](https://github.com/plotly/dash/pull/3268) Added the ability for component devs to subscribe to descendent updates by setting `dashChildrenUpdate = true` on the component, eg: `Tabs.dashChildrenUpdate = true`

dash/_hooks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def register_setuptools(cls):
251251

252252
for dist in _importlib_metadata.distributions():
253253
for entry in dist.entry_points:
254-
# Look for setup.py entry points named `dash-hooks`
255-
if entry.group != "dash-hooks":
254+
# Look for setup.py entry points named `dash_hooks`
255+
if entry.group != "dash_hooks":
256256
continue
257257
entry.load()

0 commit comments

Comments
 (0)