Skip to content

Commit cb00c6a

Browse files
committed
Add RQL Query
1 parent 26f535f commit cb00c6a

File tree

14 files changed

+976
-1
lines changed

14 files changed

+976
-1
lines changed

mpt_api_client/rql/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from mpt_api_client.rql.query_builder import RQLQuery
2+
3+
__all__ = ["RQLQuery"] # noqa: WPS410

mpt_api_client/rql/constants.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
COMP = ("eq", "ne", "lt", "le", "gt", "ge")
2+
SEARCH = ("like", "ilike")
3+
LIST = ("in", "out")
4+
NULL = "null"
5+
EMPTY = "empty"
6+
7+
KEYWORDS = (*COMP, *SEARCH, *LIST, NULL, EMPTY)

0 commit comments

Comments
 (0)