Skip to content

Commit e59ffe3

Browse files
committed
Remove flask typing import.
1 parent a4bdc7d commit e59ffe3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dash/dash.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
import flask
2424

25-
from flask.typing import RouteCallable
2625
from importlib_metadata import version as _get_distribution_version
2726

2827
from dash import dcc
@@ -81,6 +80,8 @@
8180
from ._jupyter import jupyter_dash, JupyterDisplayMode
8281
from .types import RendererHooks
8382

83+
RouteCallable = Callable[..., Any]
84+
8485
# If dash_design_kit is installed, check for version
8586
ddk_version = None
8687
if find_spec("dash_design_kit"):

0 commit comments

Comments
 (0)