diff --git a/CHANGELOG.md b/CHANGELOG.md index 72747a0fba..f6f3065881 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/dash/dash.py b/dash/dash.py index c54c26d5be..9b4621618d 100644 --- a/dash/dash.py +++ b/dash/dash.py @@ -22,7 +22,6 @@ import flask -from flask.typing import RouteCallable from importlib_metadata import version as _get_distribution_version from dash import dcc @@ -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"):