diff --git a/src/zenml/models/v2/base/filter.py b/src/zenml/models/v2/base/filter.py index 326f5c79b1..b209166cf7 100644 --- a/src/zenml/models/v2/base/filter.py +++ b/src/zenml/models/v2/base/filter.py @@ -1093,8 +1093,10 @@ def _define_uuid_filter( Returns: A Filter object. + + Raises: + ValueError: If the value for a oneof filter is not a list. """ - # For equality checks, ensure that the value is a valid UUID. if operator == GenericFilterOps.ONEOF and not isinstance(value, list): raise ValueError(ONEOF_ERROR)