Skip to content

Commit fa7bee9

Browse files
committed
Format black
1 parent 72afbef commit fa7bee9

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src/executorlib/task_scheduler/interactive/dependency.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,15 @@ def _execute_tasks_with_dependencies(
329329
refresh_rate=refresh_rate,
330330
)
331331
elif task_return_dict is not None:
332-
future_lookup_dict = {} # we need this future dict later on to resolve the dependencies
332+
future_lookup_dict = (
333+
{}
334+
) # we need this future dict later on to resolve the dependencies
333335
for k, v in task_return_dict.items():
334336
future_lookup_dict[k] = executor.submit(
335-
fn=v["fn"], *v["args"], **v["kwargs"], resource_dict=v["resource_dict"]
337+
fn=v["fn"],
338+
*v["args"],
339+
**v["kwargs"],
340+
resource_dict=v["resource_dict"],
336341
)
337342
else:
338343
# If there is nothing else to do, sleep for a moment

0 commit comments

Comments
 (0)