haystack/releasenotes/notes/add-remove-method-to-pipeline-base-c7ca1aa68b0f396b.yaml
Carlos Fernández 7fe0244258
feat: add methods to remove and replace components in a pipeline (#7820)
* add remove_component method plus unit tests

* add docstrings

* add reno

* add type annotation to remove_component method

Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>

* solve bug not allowing a component to be reatached to a pipeline after being removed

* Properly remove Component from Pipeline

* Ignore mypy

---------

Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
Co-authored-by: Silvano Cerza <silvanocerza@gmail.com>
2024-06-10 14:54:07 +02:00

5 lines
124 B
YAML

---
enhancements:
- |
Added the 'remove_component' method in 'PipelineBase' to delete components and its connections.