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

List recipe inputs from within the recipe

Level 3
List recipe inputs from within the recipe

I'm currently writing a Python function with lots of inputs. I'd like to list these inputs from within the recipe to avoid to declare them manually. These are the two solutions I tried :

  1. I tried to retrieve the recipe inputs using the API client. However, instanciating ```dataiku.api_client()``` into a Python recipe fails with a permission error later in the process.

  2. I tried to parse flow variables (from ```dataiku.dku_flow_variables```), but the ```DKU_LOCATION``` variable cannot differentiate inputs and outputs of the recipe.

Is there a third way I didn't see?



0 Kudos
0 Replies


Labels (2)
A banner prompting to get Dataiku