Use this section if gapi.py is not available in your version
1) Create the pipeline file
Start by creating a python file for the pipeline configuration in the folder config/pipeline
A descriptive name works the best
On The File
from app.pipeline import Pipeline from app.pipeline.stages import DemoStage
_demo = DemoStage( enable=True, name='demo', save_to_intermediate=False, expand_result=False, ui_only=None, halt_on_exception=False )
PIPELINE = Pipeline( enable=True, stages=[ _demo ] )
You can go to /es/docs and execute the GET pipeline endpoint and see if the name appears