Survey banner
The Dataiku Community is moving to a new home! We are temporary in read only mode: LEARN MORE

module 'dataiku' has no attribute 'dku_flow_variables'

pkansal
Level 3
module 'dataiku' has no attribute 'dku_flow_variables'

The following code was working fine in dataiku v11 but in v12 it throws an error.

 

partition_label = dataiku.dku_flow_variables["DKU_DST_partition_label"]

 

error:

module 'dataiku' has no attribute 'dku_flow_variables'

 

I am running it in a script, not in a notebook.


Operating system used: Linux

0 Kudos
2 Replies
JuanE
Dataiker

If by "script" you mean a Python recipe inside of DSS, please share the corresponding job diagnosis in the Support ticket you already opened about this.

0 Kudos
Turribeach

Works for me on version 12.2.2 but the error suggests you are running it outside of DSS or not inside a Python recipe.

0 Kudos