Warning |
---|
Documentation below does not apply for version >= 3.0.0 |
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
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
All Pipeline:
...