Skip to content

Commit a69dadc

Browse files
committed
Fix lint
1 parent d1b0fa0 commit a69dadc

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

dash/dash.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@
6969
from . import _watch
7070
from . import _get_app
7171

72-
from ._get_app import get_app, with_app_context, with_app_context_async, with_app_context_factory
72+
from ._get_app import (
73+
get_app,
74+
with_app_context,
75+
with_app_context_async,
76+
with_app_context_factory,
77+
)
7378
from ._grouping import map_grouping, grouping_len, update_args_group
7479
from ._obsolete import ObsoleteChecker
7580

@@ -366,7 +371,7 @@ class Dash(ObsoleteChecker):
366371
``True`` here in which case you must explicitly set it ``False`` for
367372
those callbacks you wish to have an initial call. This setting has no
368373
effect on triggering callbacks when their inputs change later on.
369-
374+
370375
:param hide_all_callbacks: Default ``False``: Sets the default value of
371376
``hidden`` for all callbacks added to the app. Normally all callbacks
372377
are visible in the devtools callbacks tab. You can set this for
@@ -1658,13 +1663,10 @@ def _setup_server(self):
16581663
current_app_config = get_app().config
16591664

16601665
self._callback_list.extend(_callback.GLOBAL_CALLBACK_LIST)
1661-
# For each callback function, if the hidden parameter uses the default value None,
1666+
# For each callback function, if the hidden parameter uses the default value None,
16621667
# replace it with the actual value of the hide_all_callbacks property of the current application instance.
16631668
self._callback_list = [
1664-
{
1665-
**_callback,
1666-
"hidden": current_app_config.get("hide_all_callbacks", False)
1667-
}
1669+
{**_callback, "hidden": current_app_config.get("hide_all_callbacks", False)}
16681670
if _callback.get("hidden") is None
16691671
else _callback
16701672
for _callback in self._callback_list

0 commit comments

Comments
 (0)