Python API and the scenario log

JohnB
JohnB Registered Posts: 32 ✭✭✭✭✭

How do you fetch the scenario log via Python?

I can get the individual steps' job logs from last runs using get_log:

https://doc.dataiku.com/dss/latest/python-api/rest-api-client/jobs.html#dataikuapi.dss.job.DSSJob.get_log

How can I get the scenario run log itself?

Answers

  • Young-Sang
    Young-Sang Dataiker, Registered Posts: 10 Dataiker

    Hi. I'm afraid there is no API to retrieve the scenario logs.

    You can only retrieve the job logs from the python API.

    Can you share us your use-case?

  • JohnB
    JohnB Registered Posts: 32 ✭✭✭✭✭

    Hi. Thanks for the response.

    The use case is in flux at the moment but essentially we have projects and scenarios developed and maintained by a separate team which require some production monitoring. I am trying to avoid tinkering with their stuff to setup reporters etc. the idea is to use the API to run regular checks on their scenario runs but keep our code bases separate.

Setup Info
    Tags
      Help me…