Solved

In pythonSDK how to get type of pipeline

  • 27 April 2023
  • 1 reply
  • 24 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)?

 

 
icon

Best answer by saleempothiwala 28 April 2023, 12:45

View original

1 reply

Userlevel 4
Badge

@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