Skip to content

Commit dc017ba

Browse files
committed
ruff
1 parent 647772e commit dc017ba

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/tomato/daemon/job.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
from tomato.daemon.io import merge_netcdfs, data_to_pickle
3030
from tomato.daemon import jobdb, lpp
31-
from tomato.models import Pipeline, Daemon, Component, Device, Driver, Job, Reply
31+
from tomato.models import Pipeline, Daemon, Component, Device, Driver, Job
3232
from dgbowl_schemas.tomato import to_payload
3333
from dgbowl_schemas.tomato.payload import Task
3434

@@ -498,7 +498,9 @@ def job_thread(
498498
logger.debug("waiting for task_name '%s'", task.start_with_task_name)
499499
continue
500500
logger.debug("polling component '%s' for task readiness", component.role)
501-
ret, req = lpp.comm(req, dict(cmd="task_status", params={**kwargs}), **lppargs)
501+
ret, req = lpp.comm(
502+
req, dict(cmd="task_status", params={**kwargs}), **lppargs
503+
)
502504
if ret.success and ret.data["can_submit"]:
503505
break
504506
elif req.closed:

0 commit comments

Comments
 (0)