From ede1c9ca3ee8a64c7a3d70b4fd7a1c6555e080b8 Mon Sep 17 00:00:00 2001 From: Oleh Kurpiak Date: Thu, 20 Apr 2023 17:47:44 +0300 Subject: [PATCH] update samples --- .../petstore/python-nextgen-aiohttp/petstore_api/api/pet_api.py | 2 +- .../client/petstore/python-nextgen/petstore_api/api/pet_api.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/pet_api.py b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/pet_api.py index afc8cc96162..1fa86b02ff4 100644 --- a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/pet_api.py +++ b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/pet_api.py @@ -460,7 +460,7 @@ class PetApi(object): # process the query parameters _query_params = [] 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' # process the header parameters diff --git a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/pet_api.py b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/pet_api.py index e375a7c5559..5981e896b8d 100755 --- a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/pet_api.py +++ b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/pet_api.py @@ -429,7 +429,7 @@ class PetApi(object): # process the query parameters _query_params = [] 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' # process the header parameters