Skip to content

Commit f05a3f8

Browse files
committed
fix(rql): expand query value parsing type hints to include iterables
1 parent d0c4a94 commit f05a3f8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

mpt_api_client/rql/query_builder.py

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

@@ -46,7 +47,7 @@ def __str__(self) -> str:
4647
return str(self.value)
4748

4849

49-
def parse_kwargs(query_dict: dict[str, QueryValue]) -> list[str]: # noqa: WPS231
50+
def parse_kwargs(query_dict: dict[str, QueryValue | Iterable[QueryValue]]) -> list[str]: # noqa: WPS231
5051
"""
5152
Parse keyword arguments into RQL query expressions.
5253

0 commit comments

Comments
 (0)