Input and output data
You can access the input and output data you have defined in the model builder using the following dictionaries.
The data that you have imported in the Prepare data view in the model builder is accessible from the input dictionary. You must define each table using the syntax
inputs['tablename']. For example, here food is an entity defined to be taken from the table called
food = inputs['diet_food']
Similarly, to show tables in the Explore solution view of the model builder you must specify them using the syntax
outputs['tablename']. For example,
defines an output table called
outputs['solution'] = solution_df
solutionwhich is defined by the entity
solution_dfin the Python model.
You can read the full API documentation on RawGit.