diff --git a/pypika/terms.py b/pypika/terms.py index b25af5c5..5595e13a 100644 --- a/pypika/terms.py +++ b/pypika/terms.py @@ -59,7 +59,7 @@ def fields_(self) -> Set["Field"]: @staticmethod def wrap_constant( val, wrapper_cls: Optional[Type["Term"]] = None - ) -> Union[ValueError, NodeT, "LiteralValue", "Array", "Tuple", "ValueWrapper"]: + ) -> Union[NodeT, "LiteralValue", "Array", "Tuple", "ValueWrapper"]: """ Used for wrapping raw inputs such as numbers in Criterions and Operator.