From b645c16ff64d5e3d5146884fa1b467aa1bc78a1a Mon Sep 17 00:00:00 2001 From: Silvano Cerza <3314350+silvanocerza@users.noreply.github.com> Date: Fri, 16 Feb 2024 17:00:26 +0100 Subject: [PATCH] Fix multiplexer importing from wrong package (#7015) --- haystack/components/others/multiplexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haystack/components/others/multiplexer.py b/haystack/components/others/multiplexer.py index 954656340..ddacdce85 100644 --- a/haystack/components/others/multiplexer.py +++ b/haystack/components/others/multiplexer.py @@ -3,8 +3,8 @@ import sys from typing import Any, Dict from haystack import component, default_from_dict, default_to_dict -from haystack.components.routers.conditional_router import deserialize_type, serialize_type from haystack.core.component.types import Variadic +from haystack.utils.type_serialization import deserialize_type, serialize_type if sys.version_info < (3, 10): from typing_extensions import TypeAlias