Workflow.list_datasources

Workflow.list_datasources(max_results=None) → list<Datasource>

Returns a list of datasources within the workflow.

Parameters:

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

Returns:

list<Datasource>

Examples:

workflow = redivis.user("imathews").workflow("example_workflow_climate_analysis")
datasources = workflow.list_datasources()

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

Last updated

Was this helpful?