Skip to main content
Solved

In pythonSDK how to get type of pipeline

  • April 27, 2023
  • 1 reply
  • 28 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

View original
Did this topic help you find an answer to your question?

1 reply

saleempothiwala
Headliner
Forum|alt.badge.img

@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


Reply