We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 402bd10 commit c69a167Copy full SHA for c69a167
dash/dash.py
@@ -372,7 +372,7 @@ class Dash:
372
"""
373
374
_plotlyjs_url: str
375
- STARTUP_ROUTES = []
+ STARTUP_ROUTES: list = []
376
377
def __init__( # pylint: disable=too-many-statements
378
self,
@@ -1629,7 +1629,7 @@ def display_content(path):
1629
)
1630
1631
@staticmethod
1632
- def add_startup_route(name, view_func, methods=["POST"]):
+ def add_startup_route(name, view_func, methods):
1633
1634
Add a route to the app to be initialized at the end of Dash initialization.
1635
Use this if the package requires a route to be added to the app, and you will not need to worry about at what point to add it.
0 commit comments