regenerate petstore sample

This commit is contained in:
Zoltan Biro
2016-08-29 16:47:22 +02:00
parent 10aa68c6b7
commit b050ba9dc3
2 changed files with 4 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ This Python package is automatically generated by the [Swagger Codegen](https://
- API version: 1.0.0
- Package version: 1.0.0
- Build date: 2016-08-22T17:54:52.358+08:00
- Build date: 2016-08-29T16:39:50.642+02:00
- Build package: class io.swagger.codegen.languages.PythonClientCodegen
## Requirements.

View File

@@ -581,6 +581,9 @@ class ApiClient(object):
"""
instance = klass()
if not instance.swagger_types:
return data
for attr, attr_type in iteritems(instance.swagger_types):
if data is not None \
and instance.attribute_map[attr] in data\