0 votes

Hello,

i want to add a variable which comes from partitioning to the table. 

So I am using the function in my python script:

dataiku.dku_flow_variables["DKU_DST_id"]

but getting the error

AttributeError: 'module' object has no attribute 'dku_flow_variables'

How to access the variable from which the partitioned are made?

Thanks.

asked by
edited by

1 Answer

0 votes
Hi,

Is this happening in a preparation recipe ? These variables are only available in regular Python recipes.
answered by
It is a normal python recipe with a Input dataset and an output dataset. I can add the variable code by manually clicking on the variable on the left side after I validated the code successfully.
863 questions
891 answers
848 comments
1,172 users