Workflow.notebook

Workflow.notebook(name) → Notebook

Create a reference to the notebook within a workflow.

Parameters:

name : str The scoped reference to the notebook, unique within the workflow. The name is case-insensitive, and can optionally be escaped following general name escaping rules. E.g., "Compute annual precipitation output" -> "compute_annual_precipitation_output". Can optionally include a colon followed by the table reference id, which ensures the lookup will work even if the notebook gets renamed (e.g., "compute_annual_precipitation_output:m7k8").

Returns:

Notebook

Examples

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

notebook = workflow.notebook('compute_annual_precipitation')
notebook.run()

Last updated

Was this helpful?