Modify the value of a variable in a Python recipe

Highlighted
Damien
Level 1
Modify the value of a variable in a Python recipe
Jump to solution
Hello,

I would like to modify the value of a variable that I declared in my project (Settings > Variables) in a Python recipe. Is it possible ?

Thanks a lot,

Damien
0 Kudos
1 Solution

Accepted Solutions
Clément_Stenac Dataiker
Dataiker
Re: Modify the value of a variable in a Python recipe
Jump to solution
Hi Damien,

While it's technically possible to programmatically edit the config/projects/X/variables.json, we would not recommend this 🙂

DSS 3.0 will include a new API call to get/set the per-project variables.

View solution in original post

0 Kudos
3 Replies
Clément_Stenac Dataiker
Dataiker
Re: Modify the value of a variable in a Python recipe
Jump to solution
Hi Damien,

While it's technically possible to programmatically edit the config/projects/X/variables.json, we would not recommend this 🙂

DSS 3.0 will include a new API call to get/set the per-project variables.

View solution in original post

0 Kudos
Damien
Level 1
Re: Modify the value of a variable in a Python recipe
Jump to solution
Thanks, looking forward the presentation of this new version on Thursday !
0 Kudos
bored_panda
Level 2
Re: Modify the value of a variable in a Python recipe
Jump to solution
Hi, is it possible now ? How ? Thanks
0 Kudos