You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "[omitted]/.venv/lib/python3.12/site-packages/haystack/core/pipeline/base.py", line 167, in from_dict
raise PipelineError(
haystack.core.errors.PipelineError: Successfully imported module comp.A.B but can't find it in the component registry.This is unexpected and most likely a bug.
File "[omitted]/.venv/lib/python3.12/site-packages/haystack/core/pipeline/base.py", line 167, in from_dict
raise PipelineError(
haystack.core.errors.PipelineError: Successfully imported module comp.A.B but can't find it in the component registry.This is unexpected and most likely a bug.
Expected behavior
The from_dict method of the Base Pipeline to support external exported symbols
To Reproduce
Write a package structure as in the previous example
Describe the bug
I have the following situation:
The custom components package is in the format:
in which the
comp/A/B/b.py
file is (in pseudo code):The
comp/A/B/__init__.py
file isIf the pipeline is written in yaml as:
I have the following error:
If I write the fully qualified name:
it works perfectly.
Error message
Expected behavior
The
from_dict
method of the Base Pipeline to support external exported symbolsTo Reproduce
FAQ Check
System:
The text was updated successfully, but these errors were encountered: