haystack/releasenotes/notes/fix-component-type-checking-issues-8eefa1157ffc3eba.yaml

7 lines
302 B
YAML
Raw Normal View History

---
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.