Check out the first Dataiku 8 Deep Dive focusing on Productivity on October 29th Read More

Update Global Variables or Best way to use variables

Level 1
Update Global Variables or Best way to use variables

Have created dataiku Global Variables in Designer node and used these variables in Pyspark recipes.

Would like to know how to promote these dataIku Global Variables? Also how to set it to different values in Automation Node for a given variables?

What is the best way to have variables which can be used acrossed environments ( Designer to Automation )... JSON or YAML or Typesafe file etc?

0 Kudos
1 Reply
Dataiker
Dataiker
Hello,
 
An alternative to using global variables would be project variables. Project variables are included into bundles. Hence, when you push your project to automation (or another design node) custom project variables remain available. 
 
If you want to update their values you can do that from UI (Variables menu inside your project) or using Python API. Please see Alex’s examples from previous topics on this subject: