Skip to content

Commit

Permalink
add conversion to support non-string params
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Hörberg <[email protected]>
  • Loading branch information
tom300z committed Dec 28, 2022
1 parent a157c36 commit 955690a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ class ApiClient(object):
else:
new_params.append((k, v))

return "&".join(["=".join(item) for item in new_params])
return "&".join(["=".join(str(item)) for item in new_params])

def files_parameters(self, files=None):
"""Builds form parameters.
Expand Down

0 comments on commit 955690a

Please sign in to comment.