Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on November 12, 2019 5:36AM
Likes: 0
Replies: 1
Hi,
You can use the following code to edit the variable from a python recipe:
import dataiku
client = dataiku.api_client()
project = client.get_project("PROJECTKEY")
variables = project.get_variables()
print(variables)
variables["standard"]["foo"] = "bar"
project.set_variables(variables)
print(variables)