Skip to content

Commit cc1c495

Browse files
committed
unicode type forgotten in api_client.mustache
1 parent 27e434d commit cc1c495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/swagger-codegen/src/main/resources/python/api_client.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ class ApiClient(object):
189189
"""
190190
if isinstance(obj, type(None)):
191191
return None
192-
elif isinstance(obj, (str, int, float, bool, tuple)):
192+
elif isinstance(obj, (str, int, float, bool, tuple, unicode)):
193193
return obj
194194
elif isinstance(obj, list):
195195
return [self.sanitize_for_serialization(sub_obj)

0 commit comments

Comments
 (0)