Is it possible to list the stages of an existing pipeline once you have the existing pipeline in the builder?
Solved
List Pipeline Stages
Best answer by saleempothiwala
You can find more information here: https://docs.streamsets.com/sdk/latest/index.html
You will have to get your SDK activation code from StreamSets Support.
pip3 install streamsets~=3.0
python3
from streamsets.sdk import ControlHub
sch = ControlHub('<YOUR CONTROL HUB URL>', '<YOUR USERNAME>', '<YOUR PASSWORD>')
#Gets instance of your SCH
pipeline = control_hub.pipelines.get(name = '<YOUR PIPELINE NAME>')
#gets instance of your pipeline
pipeline.stages
#this will give you list of all the stages
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.