Skip to content

Commit a730b4b

Browse files
committed
fixing for lint
1 parent 337ec26 commit a730b4b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

dash/dash.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,9 @@ def _prepare_callback(self, g, body):
13361336
try:
13371337
cb = self.callback_map[output]
13381338
func = cb["callback"]
1339-
g.background_callback_manager = cb.get("manager") or self._background_manager
1339+
g.background_callback_manager = (
1340+
cb.get("manager") or self._background_manager
1341+
)
13401342
g.ignore_register_page = cb.get("long", False)
13411343

13421344
# Add args_grouping
@@ -1352,7 +1354,9 @@ def _prepare_callback(self, g, body):
13521354
# check for pattern matching: list of inputs or state
13531355
if isinstance(s, list):
13541356
for pattern_match_g in s:
1355-
update_args_group(pattern_match_g, body.get("changedPropIds", []))
1357+
update_args_group(
1358+
pattern_match_g, body.get("changedPropIds", [])
1359+
)
13561360
update_args_group(s, body.get("changedPropIds", []))
13571361

13581362
g.args_grouping, g.using_args_grouping = self._prepare_grouping(
@@ -1374,7 +1378,9 @@ def _prepare_grouping(self, data_list, indices):
13741378

13751379
if len(flat_data) > 0:
13761380
grouping = map_grouping(lambda ind: flat_data[ind], indices)
1377-
using_grouping = not isinstance(indices, int) and indices != list(range(grouping_len(indices)))
1381+
using_grouping = not isinstance(indices, int) and indices != list(
1382+
range(grouping_len(indices))
1383+
)
13781384
else:
13791385
grouping, using_grouping = [], False
13801386

0 commit comments

Comments
 (0)