## Pipeline


A processing pipeline that manages a sequence of steps.


Usage


``` python
Pipeline(name="default")
```


## Parameters


`name: str = ``"default"`  
The name of this pipeline.


## Methods

| Name | Description |
|----|----|
| [add_step()](#add_step) | Add a step to the pipeline. |
| [remove_step()](#remove_step) | Remove a step from the pipeline. |
| [reset()](#reset) | Clear all steps from the pipeline. |
| [run()](#run) | Execute all steps in the pipeline. |

------------------------------------------------------------------------


#### add_step()


Add a step to the pipeline.


Usage


``` python
add_step(step)
```


Call [Pipeline.run()](Pipeline.md#gdtest_sphinx_meth_role.Pipeline.run) to execute.


##### Parameters


`step: str`  
The step identifier to add.


------------------------------------------------------------------------


#### remove_step()


Remove a step from the pipeline.


Usage


``` python
remove_step(step)
```


##### Parameters


`step: str`  
The step identifier to remove.


##### Returns


`bool`  
True if the step was found and removed.


------------------------------------------------------------------------


#### reset()


Clear all steps from the pipeline.


Usage


``` python
reset()
```


After calling this, use [Pipeline.add_step()](Pipeline.md#gdtest_sphinx_meth_role.Pipeline.add_step) to add new steps.


##### Returns


`None`  


------------------------------------------------------------------------


#### run()


Execute all steps in the pipeline.


Usage


``` python
run()
```


Use [Pipeline.reset()](Pipeline.md#gdtest_sphinx_meth_role.Pipeline.reset) to clear after running.


##### Returns


`list`  
Results from each step execution.
