Transform$cancel

Transform$cancel() → self

Cancel a running transform. If the transform isn't running, an exception will be raised.

Returns

self (a Transform)

Examples

username <- "imathews"
workflow_name <- "example_workflow_climate_analysis:x7kh"
transform_name <- "join_lat_lon:m9tz"

transform <- redivis$transform(f"{username}.{workflow_name}.{transform_name}")
transform$run(wait_for_finish=FALSE)

Sys.sleep(1)
transform$cancel() # this will stop the notebook after 1s

Last updated

Was this helpful?