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

RajeshRana84
RajeshRana84 Registered Posts: 5 ✭✭✭✭

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.

Best Answer

  • Marine
    Marine Dataiker, Registered Posts: 29 Dataiker
    edited July 2024 Answer ✓

    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?

Setup Info
    Tags
      Help me…