PythonRMV/pyrmv/enums/filter_mode.py

19 lines
642 B
Python
Raw Permalink Normal View History

2022-09-28 16:12:41 +03:00
from enum import auto
from .auto_name import AutoName
class FilterMode(AutoName):
2022-10-05 13:16:25 +03:00
"""Enumeration used to declare filters for nearby searches.
* DIST_PERI - Accentuate matches. Matches in the radius are first
* EXCL_PERI - Returns matches inside the radius only
* SLCT_PERI - Matches in the radius are excluded. Returns matches outside the radius only
"""
2022-09-28 16:12:41 +03:00
DIST_PERI = auto()
"Accentuate matches. Matches in the radius are first."
EXCL_PERI = auto()
"Returns matches inside the radius only."
SLCT_PERI = auto()
"Matches in the radius are excluded. Returns matches outside the radius only."