FilterCondition
FilterCondition
evo.compute.tasks.common.filters.FilterCondition
A leaf filter condition applied to a single attribute of the filtered object.
Provide exactly one operator and the matching payload:
"in"/"not_in": membership tests — pair withvalues(a list of string category names or integer category keys)."equal","not_equal","greater_than","greater_than_or_equal_to","less_than","less_than_or_equal_to": numeric comparisons — pair withthreshold(a single float).
Example::
type
Discriminator identifying this as a leaf filter condition.
attribute
The attribute on the filtered object to evaluate the condition against.
operator
The filter operator. Use in/not_in with values; numeric operators with threshold.
values
Category values to match. Required for in/not_in. Strings for category names, ints for category keys.
threshold
Numeric threshold. Required for the numeric comparison operators.