Use this section if sapigapi.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
Tip |
---|
A descriptive name works the best |
On The File
Code Block | ||||
---|---|---|---|---|
| ||||
from app.pipeline import Pipeline from app.pipeline.stages import DemoStage |
Code Block | ||||
---|---|---|---|---|
| ||||
_demo = DemoStage( enable=True, name='demo', save_to_intermediate=False, expand_result=False, ui_only=None, halt_on_exception=False ) |
Code Block | ||||
---|---|---|---|---|
| ||||
PIPELINE = Pipeline( enable=True, stages=[ _demo ] ) |
You can go to /es/docs and execute the GET pipeline endpoint and see if the name appears