update samples

This commit is contained in:
Oleh Kurpiak 2023-04-20 17:47:44 +03:00
parent 564a86ccda
commit ede1c9ca3e
2 changed files with 2 additions and 2 deletions

View File

@ -460,7 +460,7 @@ class PetApi(object):
# process the query parameters # process the query parameters
_query_params = [] _query_params = []
if _params.get('status') is not None: # noqa: E501 if _params.get('status') is not None: # noqa: E501
_query_params.append(('status', _params['status'])) _query_params.append(('status', _params['status'].value))
_collection_formats['status'] = 'csv' _collection_formats['status'] = 'csv'
# process the header parameters # process the header parameters

View File

@ -429,7 +429,7 @@ class PetApi(object):
# process the query parameters # process the query parameters
_query_params = [] _query_params = []
if _params.get('status') is not None: # noqa: E501 if _params.get('status') is not None: # noqa: E501
_query_params.append(('status', _params['status'])) _query_params.append(('status', _params['status'].value))
_collection_formats['status'] = 'csv' _collection_formats['status'] = 'csv'
# process the header parameters # process the header parameters