Skip to contents

This is a long-running operation, which blocks until Pipelines on Databricks reach IDLE state with the timeout of 20 minutes, that you can change via timeout parameter. By default, the state of Databricks Pipelines is reported to console. You can change this behavior by changing the callback parameter.

Usage

stop_pipeline_and_wait(
  client,
  pipeline_id,
  timeout = 20,
  callback = cli_reporter
)

Arguments

client

Required. Instance of DatabricksClient()

pipeline_id

Required. This field has no description yet.

timeout

Time to wait for the operation to complete in minutes.

callback

Function to report the status of the operation. By default, it reports to console.

Details

Stops the pipeline by canceling the active update. If there is no active update for the pipeline, this request is a no-op.