Skip to content

Commit 0376fde

Browse files
committed
MPT-12329 Add RQL Query from SDK Extension
- Add RQL Query - Refactored tests - Applied minor code/style fixes for Ruff, MyPy, and Flake8
1 parent 26f535f commit 0376fde

File tree

15 files changed

+987
-1
lines changed

15 files changed

+987
-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)