Question: True or False: To modify the value of a variable in a Python recipe, it's as easy as calling two main functions, one to Get
True or False: To modify the value of a variable in
a Python recipe, it's as easy as calling two main
functions, one to "Get" our variables, and one to
"Set" them.
False: The Get function, dataiku.getcustomvariables
gets the current values of the variables in the Python
dictionary. Then the Set function is used with a project
handle such as "projecthandle", along with an object,
such as "vars", that stores the dictionary of the project
variables. It is this "vars" object that is ultimately used to
update the value of a variable.
True: The Get function, dataiku.getcustomvariables gets
the current values of the variables in the Python dictionary,
and the Set function, dataiku.setcustomvariables sets
the values.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
