haystack/releasenotes/notes/component-repr-a6486af81530bc3b.yaml
Silvano Cerza 2f965fb176
feat: Add __repr__ method to all Components (#6927)
* Add __repr__ to show Component I/O

* Add release notes

* Change Component repr to show full module path and name in Pipeline

* Fix linting
2024-02-08 11:46:10 +01:00

7 lines
216 B
YAML

---
enhancements:
- |
Add `__repr__` to all Components to print their I/O.
This can also be useful in Jupyter notebooks as this will be shown as a cell output
if the it's the last expression in a cell.