how to get all runs of scenarios an their informations?

For my internship i have a project where i have to create a dataset with all the scenarios and their runs, but when i try and import them the informations such as the last run, the progress percentage, number of runs type of triggers and stuff like that remains empty or are marked with a 0 . I hve the id and the name of the scenarios but thats it. when i putted it in a notebook it tells me that get.scenarios does not exist. so my question is: what command should i use to get these informations?
Thank you in advance and pardon my english (im french)
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,577 Neuron
Please post your code in a code block. Also it sounds like you are using chatGPT or another LLM to generate it. It's best if you don't do that as LLMs tend to allucinate a lot of API methods that don't exist. Use the official API documentation:
-
Bonjour,
J'espere que vous allez bien.
Avez vous créer vos scenarios dans un meme project et conduis un premier run pour chaque scenario? Vous pouvez verifier ceci dans la last runs tab de votre scenario:
D'après votre description "get.scenarios does not exist" effectivement ceci ne serait pas la bonne syntax.
Je vous recommande notre python api documentation qui vous donne quelques sample code pour vous aider dans votre implementation.
scenario = project.get_scenario("MYSCENARIO")
Pour votre use case, ce document vous sera utile:
Si vous avez toujours besoin d'aide pour implementer votre dataset, n'hésitez pas à ouvrir un support ticket (ou si vous utilisez Dataiku Cloud, un chat support).
Passez une excellente journée et n'hésitez pas si vous avez d'autre questions.
Cordialement,
Yasmine