Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ianj-als/pypeline.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pypeline/core/arrows/function_arrow_choice.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pypeline/core/arrows/function_arrow_choice.py b/src/pypeline/core/arrows/function_arrow_choice.py
index c5ef6a3..a90326b 100644
--- a/src/pypeline/core/arrows/function_arrow_choice.py
+++ b/src/pypeline/core/arrows/function_arrow_choice.py
@@ -74,7 +74,7 @@ class FunctionArrowChoice(ArrowChoice, FunctionArrow):
# +---------------+ +---------------+
def __add__(self, other):
if not isinstance(other, FunctionArrowChoice):
- raise ValueError("Must be a FunctionArrow")
+ raise ValueError("Must be a FunctionArrowChoice")
return self.left() >> other.right()
@@ -88,7 +88,7 @@ class FunctionArrowChoice(ArrowChoice, FunctionArrow):
# +---------------+ +---------------+ +-------------------+
def __or__(self, other):
if not isinstance(other, FunctionArrowChoice):
- raise ValueError("Must be a FunctionArrow")
+ raise ValueError("Must be a FunctionArrowChoice")
def merge(either):
if not isinstance(either, Either):