Workflow.datasource

Workflow.datasource(source) → Datasource

Create a reference to a datasource within a workflow.

Parameters:

name : str | Dataset | Workflow A fully qualified reference to the source dataset or workflow associated with this datasource, or a corresponding Dataset or Workflow instance.

Returns:

Datasource

Examples

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

datasource = workflow.datasource("Demo.ghcn_daily_weather_data:v1_0")

# Update to a new version
datasource.update(source_dataset="Demo.ghcn_daily_weather_data:v2_0")

Last updated

Was this helpful?