Skip to content

Commit 344faf2

Browse files
committed
fix(rql): add support for iterable of LiteralString in query value definition
1 parent d0c4a94 commit 344faf2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mpt_api_client/rql/query_builder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import datetime as dt
2+
from collections.abc import Iterable
23
from decimal import Decimal
34
from typing import Any, Self, override
45

56
from mpt_api_client.rql import constants
67

78
Numeric = int | float | Decimal
89

9-
QueryValue = str | bool | dt.date | dt.datetime | Numeric
10+
QueryValue = str | bool | dt.date | dt.datetime | Numeric | Iterable # type: ignore[type-arg] # noqa: WPS221
1011

1112

1213
class RQLProperty:

0 commit comments

Comments
 (0)