0 votes
Hi,

I have defined some global variables in a flow, and these are integers, lists and stings. Yet when I use dataiku.get_custom_variables() in python everything is a string.

Doesn't JSON support these types?

 

Cheers,

Dany
by
reopened by

1 Answer

+1 vote
Best answer

Hi,

To do what you want, you can use the argument "typed" as shown below:

dataiku.get_custom_variables(typed = True)

Hope it helps,

Alex

by
selected by
Merci !

That is so useful. Please add this detail to the documentation.

Cheers,
Dany
Thanks for the feedback, we will add this to our documentation backlog.
1,319 questions
1,339 answers
1,539 comments
11,888 users

©Dataiku 2012-2018 - Privacy Policy