From 3d1c4e2d7c1588c99afb389f37d829e9431373f0 Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Tue, 20 Feb 2024 12:37:21 +0100 Subject: [PATCH] fix import path --- src/hayhooks/server/pipelines/registry.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hayhooks/server/pipelines/registry.py b/src/hayhooks/server/pipelines/registry.py index 85e9974..f3dc270 100644 --- a/src/hayhooks/server/pipelines/registry.py +++ b/src/hayhooks/server/pipelines/registry.py @@ -1,4 +1,6 @@ -from haystack.pipeline import Pipeline, Optional +from typing import Optional + +from haystack import Pipeline from haystack.core.errors import PipelineError