Skip to content

Remove flask typing import. #3280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 16, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).

## Fixed
- [#3278](https://github.com/plotly/dash/pull/3278) Fix loading selector with children starting at the same digit. Fix [#3276](https://github.com/plotly/dash/issues/3276)
- [#3280](https://github.com/plotly/dash/pull/3280) Remove flask typing import not available in earlier versions.

## [3.0.3] - 2025-04-14

Expand Down
3 changes: 2 additions & 1 deletion dash/dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

import flask

from flask.typing import RouteCallable
from importlib_metadata import version as _get_distribution_version

from dash import dcc
Expand Down Expand Up @@ -81,6 +80,8 @@
from ._jupyter import jupyter_dash, JupyterDisplayMode
from .types import RendererHooks

RouteCallable = Callable[..., Any]

# If dash_design_kit is installed, check for version
ddk_version = None
if find_spec("dash_design_kit"):
Expand Down