From 47713fda5a2ebad1700606285f7f886e994d1f97 Mon Sep 17 00:00:00 2001 From: Quentin Dawans Date: Fri, 20 Dec 2024 15:30:12 +0100 Subject: [PATCH] review comments --- quixstreams/core/stream/functions/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quixstreams/core/stream/functions/base.py b/quixstreams/core/stream/functions/base.py index 24438ef13..b39d46d0b 100644 --- a/quixstreams/core/stream/functions/base.py +++ b/quixstreams/core/stream/functions/base.py @@ -39,7 +39,7 @@ def _resolve_branching(self, *child_executors: VoidExecutor) -> VoidExecutor: is returned as is. """ if not child_executors: - raise TypeError("At least one executor is required") + raise ValueError("At least one executor is required") if len(child_executors) > 1: