Skip to main content
Solved

In pythonSDK how to get type of pipeline

  • April 27, 2023
  • 1 reply
  • 32 views

In python SDK after fetching pipeline details with use of ControlHub object (sch.pipelines).

How can we get type of pipeline (Data collector or transformer)?

 

 

Best answer by saleempothiwala

@dhanraj_shinde 

 

sch = ControlHub(credential_id=<cred_id>,token=<token>)
pipeline= sch.pipelines.get(pipeline_id=<pipeline_id>)
pipeline.executor_type

executor_type will give you the engine type

1 reply

saleempothiwala
Headliner
Forum|alt.badge.img
  • Headliner
  • 258 replies
  • Answer
  • April 28, 2023

@dhanraj_shinde 

 

sch = ControlHub(credential_id=<cred_id>,token=<token>)
pipeline= sch.pipelines.get(pipeline_id=<pipeline_id>)
pipeline.executor_type

executor_type will give you the engine type