Skip to content

Commit eaf2a99

Browse files
authored
MPT-12325 Add RQL Query (#7)
MPT-12329 Add RQL Query from SDK Extension - Add RQL Query - Refactored tests - Applied minor code/style fixes for Ruff, MyPy, and Flake8 https://softwareone.atlassian.net/browse/MPT-12325
2 parents 26f535f + 55e5c33 commit eaf2a99

File tree

15 files changed

+988
-4
lines changed

15 files changed

+988
-4
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)