Skip to content

Commit 9428ca3

Browse files
author
lmh
committed
fix: compatable with tuple list
1 parent 2a66167 commit 9428ca3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

volcenginesdkarkruntime/_qs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ def stringify_items(
6464
array_format=array_format,
6565
nested_format=nested_format,
6666
)
67+
if isinstance(params, list):
68+
return flatten(
69+
[self._stringify_item(key, value, opts) for key, value in params]
70+
)
6771
return flatten(
6872
[self._stringify_item(key, value, opts) for key, value in params.items()]
6973
)

0 commit comments

Comments
 (0)