coherence.comparator
ExtractorComparator
- class coherence.comparator.ExtractorComparator(property_name: str)
Bases:
Comparator
Comparator implementation that uses specified
coherence.extractor.ValueExtractor
to extract value(s) to be used for comparison.
InverseComparator
- class coherence.comparator.InverseComparator(property_name: str)
Bases:
Comparator
Comparator that reverses the result of another comparator.
SafeComparator
- class coherence.comparator.SafeComparator(property_name: str)
Bases:
Comparator
None-safe delegating comparator. None values are evaluated as “less then” any non None value.