Skip to content

add backward compat alias for _Wildcard#3609

Open
Mr-Neutr0n wants to merge 1 commit intoplotly:devfrom
Mr-Neutr0n:fix/wildcard-backward-compat
Open

add backward compat alias for _Wildcard#3609
Mr-Neutr0n wants to merge 1 commit intoplotly:devfrom
Mr-Neutr0n:fix/wildcard-backward-compat

Conversation

@Mr-Neutr0n
Copy link

The _Wildcard class was renamed to Wildcard in Dash 3.4, but some third-party packages (like dash-pydantic-form) still import the old private name. This breaks on upgrade from 3.3 → 3.4 with ImportError: cannot import name '_Wildcard' from 'dash.dependencies'.

This adds _Wildcard = Wildcard as a one-line alias so those imports keep working.

Fixes #3580

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cannot import name '_Wildcard' from 'dash.dependencies

1 participant