Workflow.list_parameters

Workflow.list_parameters(max_results=None) → list<Parameter>

Returns a list of parameters within the workflow.

Parameters:

max_results : int, default None If specified, will only return up to max_results parameters

Returns:

list<Parameter>

Examples:

workflow = redivis.user("imathews").workflow("example_workflow_climate_analysis")
parameters = workflow.list_parameters()

for parameter in parameters:
    print(parameter.properties) # Properties will be populated with the parameter.list resource representation

Last updated

Was this helpful?