Get Job list in project and each job statistics like start time , end time, status etc. [Python]

Solved!
RajeshRana84
Level 2
Get Job list in project and each job statistics like start time , end time, status etc. [Python]

Good Day Everyone,

I was developing an API to get the Job status of each project. So i want all the jobs in a specific project and job specific metrics like start time , end time, status etc.

 

i tried "project.list_jobs" but it returns an instancemethod instead of list of jobs.

 

Please let me know if there is a way to get all these details.

 

0 Kudos
1 Solution
Marine
Dataiker

Hi @RajeshRana84 ,

To retrieve the list of jobs, I believe you should use : 

project.list_jobs()

instead of project.list_jobs

And you'll get a list like this : 

Screenshot 2021-04-07 at 14.34.30.png

Does it answer your question? 

 

View solution in original post

1 Reply
Marine
Dataiker

Hi @RajeshRana84 ,

To retrieve the list of jobs, I believe you should use : 

project.list_jobs()

instead of project.list_jobs

And you'll get a list like this : 

Screenshot 2021-04-07 at 14.34.30.png

Does it answer your question?