run_data_pipeline
- arcgis.datapipelines.run_data_pipeline(item: Item, gis: GIS | None = None) PipelineRun
Runs the data pipeline item. Running data pipelines consumes credits for the time it takes the run to complete.
Parameter
Description
item
Required
Item. The item of type Data Pipeline to run.gis
Optional
GIS. The Web GIS connection used to run the operation. If the value is None, then the item’s GIS object will be used.- Returns:
A
PipelineRunobject.
Note
Raises an Exception if the user or organization does not have access to Data Pipelines or if a run is already in progress for the item.
PipelineRun
- class arcgis.datapipelines._pipelines.PipelineRun(url: str, session: EsriSession)
Represents a single run of a Data Pipeline process.
Parameter
Description
url
Required String. The url of the data pipeline endpoint.
session
Required EsriSession. The connection object.
- cancel() bool
Terminates the current run.
:returns:bool