haystack/releasenotes/notes/fix-component-type-checking-issues-8eefa1157ffc3eba.yaml
Silvano Cerza d6597952a2
fix: Update Component protocol to fix some type checking issues (#7270)
* Update Component protocol to fix some type checking issues

* Add release notes

* Fix logline in test

* Fix run type definition
2024-03-01 10:56:47 +01:00

7 lines
302 B
YAML

---
enhancements:
- |
Update `Component` protocol to fix type checking issues with some Language Servers.
Most Language Servers and some type checkers would show warnings when calling `Pipeline.add_component()`
as technically most `Component`s weren't respecting the protocol we defined.