Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
I wanted to change all the scenarios name which listed on my project using Python recipe only. How I can change?
Here you go:
import dataiku
client_handle = dataiku.api_client()
project_handle = client_handle.get_project('some project key')
scenario_handle = project_handle.get_scenario('some scenario ID')
scenario_settings = scenario_handle.get_settings()
scenario_settings.get_raw()['name'] = 'TestScenarioNewName'
scenario_settings.save()
Here you go:
import dataiku
client_handle = dataiku.api_client()
project_handle = client_handle.get_project('some project key')
scenario_handle = project_handle.get_scenario('some scenario ID')
scenario_settings = scenario_handle.get_settings()
scenario_settings.get_raw()['name'] = 'TestScenarioNewName'
scenario_settings.save()
Thank you very much for the solution.