Extract content of a scenario using Dataiku API via Python
Hi All,
Need help on extracting content of a scenario using Dataiku API via Python. Like, I want to extract the SQL code or Python code whatever written in the scenarios via automated way.
Thanks,
Vamsi
Operating system used: Linux
Operating system used: Linux
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,088 Neuron
Hi, your question is too wide and it's focusing on the steps not your goal. What are you trying to achieve? A sample post below showing how to access all Python recipes in a project.
-
I created internal scenario triggers within scenario. Need the content of scenario to check which project's scenario is getting triggered and from where. Also, I want to check what are the SQL codes running via scenario. Need that SQL codes as well.
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,088 Neuron
Again you are describing the step not the goal. Why do you need this data? What are you trying to do with it?
-
Goal is to check the presence of tables in SQL steps.
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,088 Neuron
Again that's a step not a goal. Why do you need to check for the "presence of tables in SQL steps"? And by steps do you mean SQL recipes or do you mean custom SQL on Scenario Steps?
-
Hi Neuron,
Please let me know, if you have a solution. My requirement is to extract steps content of a scenario.
Thanks,
Vamsi