Accesing Job status

The HTTP & Python API
Post Reply
michaelDG
Posts: 1
Joined: January 9th, 2020, 10:05 am

Accesing Job status

Post by michaelDG »

Is there a way to access all the job statuses through python? For example the live in progress jobs or active users etc.

sincerely,

Michael Koning
Digital Golem

User avatar
andrew
Site Admin
Posts: 336
Joined: June 24th, 2014, 8:10 am

Re: Accesing Job status

Post by andrew »

Hi Michael,

Currently in the API you would need to query all jobs for a specific user with get_userJobs() and then iterate though the returned job IDs querying get_jobInfo() to look for a specific job status. There is not a general job search function in the API at this time but it is something we can add to our feature request list.

Thanks,
Andrew

User avatar
pablo
Posts: 13
Joined: September 3rd, 2020, 7:14 pm

Re: Accesing Job status

Post by pablo »

I'm having the same problem today, trying to iterate through all the available jobs.
I think is convoluted to force loopiong every user in order to discover all jobs in NIM, I think something like get_jobList() would be very welcome.
Cheers

P

User avatar
andrew
Site Admin
Posts: 336
Joined: June 24th, 2014, 8:10 am

Re: Accesing Job status

Post by andrew »

Hey Pablo,

Thanks for the feedback. I'll give this one a nudge up on the feature request list.

Cheers,
Andrew

Post Reply