Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait for the job to finish #19

Open
sidahmed-malaoui opened this issue May 9, 2020 · 1 comment
Open

Wait for the job to finish #19

sidahmed-malaoui opened this issue May 9, 2020 · 1 comment
Labels

Comments

@sidahmed-malaoui
Copy link

sidahmed-malaoui commented May 9, 2020

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.

@estebanramos
Copy link

Any workaround on this? There's no clean way to wait for the job summary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants