Skip to content

Commit f5a35b7

Browse files
author
Alan Christie
committed
fix: Attempt to fix lint issues
1 parent 2b64257 commit f5a35b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/squonk2/examples/data_manager/job_chain.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def run_a_job(
9696
print("Failed to start the Job")
9797
error(job_dm_rv)
9898
return False, None
99-
99+
assert job_dm_rv.msg
100100
job_instance_id: Optional[str] = job_dm_rv.msg["instance_id"]
101101

102102
# Max wait-time (seconds)
@@ -125,6 +125,7 @@ def run_a_job(
125125
return False, None
126126

127127
# Started?
128+
assert job_dm_rv.msg
128129
if "started" in job_dm_rv.msg and not job_started:
129130
job_started = True
130131
print(f' Started Job instance "{job_instance_id}"')

0 commit comments

Comments
 (0)