Cortex4py
Cortex4py copied to clipboard
Wait for the job to finish
I is it way to wait for the job to finish like in this example :
job1 = api.analyzers.run_by_name('FileInfo_6_0', {
'data': '/bin/ls',
'dataType': 'file'
}, async=True)
# The next instruction should return only Success or Failure, because we reached it after the job finished executing.
print(job1.status)
Thank you in advance for your response.
Any workaround on this? There's no clean way to wait for the job summary.