def _build_property_match_filter(spec, context): warnings.warn("property_match are deprecated. Use boolean_expression instead.", DeprecationWarning) wrapped = PropertyMatchFilterSpec.wrap(spec) return SinglePropertyValueFilter( expression=wrapped.getter, operator=EQUAL, reference_expression=ExpressionFactory.from_spec(wrapped.property_value), )
def _build_property_match_filter(spec, context): warnings.warn( "property_match are deprecated. Use boolean_expression instead.", DeprecationWarning, ) wrapped = PropertyMatchFilterSpec.wrap(spec) return SinglePropertyValueFilter( expression=wrapped.getter, operator=EQUAL, reference_value=wrapped.property_value, )