haystack/releasenotes/notes/fix-set-output-types-async-check-2e5d578a3ccdcc59.yaml

5 lines
259 B
YAML

---
fixes:
- |
When calling `set_output_types` we now also check that the decorator @component.output_types is not present on the `run_async` method of a Component. Previously we only checked that the Component.run method did not possess the decorator.