Skip to content

Commit 4cb4d15

Browse files
authored
Merge pull request #3609 from Mr-Neutr0n/fix/wildcard-backward-compat
add backward compat alias for _Wildcard
2 parents eb58ee8 + 545a1d1 commit 4cb4d15

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dash/dependencies.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ def to_json(self) -> str:
3131
ALL = Wildcard.ALL
3232
ALLSMALLER = Wildcard.ALLSMALLER
3333

34+
# Backward compatibility alias — the class was renamed from _Wildcard to
35+
# Wildcard in Dash 3.4. Third-party packages (e.g. dash-pydantic-form)
36+
# still import the old private name.
37+
_Wildcard = Wildcard
38+
3439

3540
class DashDependency: # pylint: disable=too-few-public-methods
3641
component_id: ComponentIdType

0 commit comments

Comments
 (0)