Loop in Custom Scenario
Hello community
I was working on a repetitive rework task
and it occurred to me that I could automate it with a new scenario custom python script
First I wanted to confirm that it works and then start making the loop and modify the variable every time it loops.
First step does not build the dataset
Script:
from dataiku.scenario import Scenario
scenario = Scenario()
scenario.build_dataset("RepTaxes_Extract")
Thank you so much
Operating system used: Windows
Operating system used: Windows
Answers
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,226 Dataiker
Hi @Lucasjulian
,
The method should work if there is something to build.
Can you try with :
scenario.build_dataset(dataset_name, build_mode='RECURSIVE_FORCED_BUILD')?
If that still build nothing we may need scenario diagnostics. Can you please open a support ticket with the scenario diagnostics?
Thanks