For the complete documentation index, see llms.txt. This page is also available as Markdown.

Notebook.run

Notebook.run(*, wait_for_finish=True) → self

Run a notebook. If the notebook is already running, an exception will be raised.

Parameters:

wait_for_finish: bool, default True Whether to wait for the notebook to complete before returning. If waiting, and the notebook encounters an error during execution, an error will be raised.

Returns

self (a Notebook)

Examples

username = "imathews"
workflow_name = "example_workflow_climate_analysis:x7kh"
notebook_name = "visualize_precipitation_trends:2f2v"

notebook = redivis.notebook(f"{username}.{workflow_name}.{notebook_name}")
notebook.run()

Was this helpful?