Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mpt_api_client/rql/query_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def rql_encode(op: str, value: Any) -> str:
if op not in constants.LIST and isinstance(value, QueryValue):
return query_value_str(value)
if op in constants.LIST and isinstance(value, list | tuple | set):
return ",".join(value)
return ",".join(str(el) for el in value)

raise TypeError(f"the `{op}` operator doesn't support the {type(value)} type.")

Expand Down