mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 20:07:09 +00:00
Python: Flask: Fix: Update setup.py to match requirements.txt (#4205)
* Python: Flask: Fix: Update setup.py to match requirements.txt * Regenerate samples python-flask & python-flask-python2
This commit is contained in:
committed by
William Cheng
parent
a38527d8b6
commit
5d7bb17cc6
@@ -16,7 +16,7 @@ def _deserialize(data, klass):
|
||||
if data is None:
|
||||
return None
|
||||
|
||||
if klass in six.integer_types or klass in (float, str, bool):
|
||||
if klass in six.integer_types or klass in (float, str, bool, bytearray):
|
||||
return _deserialize_primitive(data, klass)
|
||||
elif klass == object:
|
||||
return _deserialize_object(data)
|
||||
|
||||
Reference in New Issue
Block a user