Skip to content

Commit 319c880

Browse files
author
alex.chen
committed
fix the cases
1 parent 77a23ca commit 319c880

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

samples/client/petstore-security-test/python/petstore_api/api_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,8 +602,7 @@ def __deserialize_model(self, data, klass):
602602
:return: model object.
603603
"""
604604

605-
if not klass.swagger_types and not self.__hasattr(klass,
606-
'get_real_child_model'):
605+
if not klass.swagger_types and not self.__hasattr(klass, 'get_real_child_model'):
607606
return data
608607

609608
kwargs = {}

samples/client/petstore/python/petstore_api/api_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,8 +602,7 @@ def __deserialize_model(self, data, klass):
602602
:return: model object.
603603
"""
604604

605-
if not klass.swagger_types and not self.__hasattr(klass,
606-
'get_real_child_model'):
605+
if not klass.swagger_types and not self.__hasattr(klass, 'get_real_child_model'):
607606
return data
608607

609608
kwargs = {}

0 commit comments

Comments
 (0)