File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11import datetime as dt
2+ from collections .abc import Iterable
23from decimal import Decimal
34from 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
@@ -186,7 +187,7 @@ class RQLQuery:
186187 def __init__ ( # noqa: WPS211
187188 self ,
188189 namespace_ : str | None = None , # noqa: WPS120
189- ** kwargs : QueryValue ,
190+ ** kwargs : QueryValue | Iterable [ QueryValue ] ,
190191 ) -> None :
191192 self .op : str = self .OP_EXPRESSION
192193 self .children : list [RQLQuery ] = []
You can’t perform that action at this time.
0 commit comments