diff --git a/modules/openapi-generator/src/main/resources/python-nextgen/__init__api.mustache b/modules/openapi-generator/src/main/resources/python-nextgen/__init__api.mustache index c2232a92f4c..8870835c81e 100644 --- a/modules/openapi-generator/src/main/resources/python-nextgen/__init__api.mustache +++ b/modules/openapi-generator/src/main/resources/python-nextgen/__init__api.mustache @@ -1,7 +1,5 @@ -from __future__ import absolute_import - # flake8: noqa # import apis into api package {{#apiInfo}}{{#apis}}from {{apiPackage}}.{{classFilename}} import {{classname}} -{{/apis}}{{/apiInfo}} \ No newline at end of file +{{/apis}}{{/apiInfo}} diff --git a/modules/openapi-generator/src/main/resources/python-nextgen/__init__model.mustache b/modules/openapi-generator/src/main/resources/python-nextgen/__init__model.mustache index 56487fff6a4..0e1b55e2ace 100644 --- a/modules/openapi-generator/src/main/resources/python-nextgen/__init__model.mustache +++ b/modules/openapi-generator/src/main/resources/python-nextgen/__init__model.mustache @@ -3,11 +3,9 @@ # flake8: noqa {{>partial_header}} -from __future__ import absolute_import - # import models into model package {{#models}} {{#model}} from {{modelPackage}}.{{classFilename}} import {{classname}} {{/model}} -{{/models}} \ No newline at end of file +{{/models}} diff --git a/modules/openapi-generator/src/main/resources/python-nextgen/__init__package.mustache b/modules/openapi-generator/src/main/resources/python-nextgen/__init__package.mustache index f12543f1f63..f598fc38c28 100644 --- a/modules/openapi-generator/src/main/resources/python-nextgen/__init__package.mustache +++ b/modules/openapi-generator/src/main/resources/python-nextgen/__init__package.mustache @@ -4,8 +4,6 @@ {{>partial_header}} -from __future__ import absolute_import - __version__ = "{{packageVersion}}" # import apis into sdk package diff --git a/modules/openapi-generator/src/main/resources/python-nextgen/api.mustache b/modules/openapi-generator/src/main/resources/python-nextgen/api.mustache index 592b8f687a4..f16945da847 100644 --- a/modules/openapi-generator/src/main/resources/python-nextgen/api.mustache +++ b/modules/openapi-generator/src/main/resources/python-nextgen/api.mustache @@ -2,8 +2,6 @@ {{>partial_header}} -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/modules/openapi-generator/src/main/resources/python-nextgen/api_client.mustache b/modules/openapi-generator/src/main/resources/python-nextgen/api_client.mustache index ef005c5e9db..7006b19276e 100644 --- a/modules/openapi-generator/src/main/resources/python-nextgen/api_client.mustache +++ b/modules/openapi-generator/src/main/resources/python-nextgen/api_client.mustache @@ -1,6 +1,6 @@ # coding: utf-8 + {{>partial_header}} -from __future__ import absolute_import import atexit import datetime diff --git a/modules/openapi-generator/src/main/resources/python-nextgen/api_test.mustache b/modules/openapi-generator/src/main/resources/python-nextgen/api_test.mustache index a981c662a0d..c3bbe4b822f 100644 --- a/modules/openapi-generator/src/main/resources/python-nextgen/api_test.mustache +++ b/modules/openapi-generator/src/main/resources/python-nextgen/api_test.mustache @@ -2,8 +2,6 @@ {{>partial_header}} -from __future__ import absolute_import - import unittest import {{packageName}} diff --git a/modules/openapi-generator/src/main/resources/python-nextgen/configuration.mustache b/modules/openapi-generator/src/main/resources/python-nextgen/configuration.mustache index ab50e67ea61..77b44197b2f 100644 --- a/modules/openapi-generator/src/main/resources/python-nextgen/configuration.mustache +++ b/modules/openapi-generator/src/main/resources/python-nextgen/configuration.mustache @@ -2,8 +2,6 @@ {{>partial_header}} -from __future__ import absolute_import - import copy import logging {{^asyncio}} diff --git a/modules/openapi-generator/src/main/resources/python-nextgen/model_test.mustache b/modules/openapi-generator/src/main/resources/python-nextgen/model_test.mustache index 06d8b5fa95c..93ebf99b14f 100644 --- a/modules/openapi-generator/src/main/resources/python-nextgen/model_test.mustache +++ b/modules/openapi-generator/src/main/resources/python-nextgen/model_test.mustache @@ -2,8 +2,6 @@ {{>partial_header}} -from __future__ import absolute_import - import unittest import datetime diff --git a/modules/openapi-generator/src/main/resources/python-nextgen/rest.mustache b/modules/openapi-generator/src/main/resources/python-nextgen/rest.mustache index 0e76f4eb996..89875d65542 100644 --- a/modules/openapi-generator/src/main/resources/python-nextgen/rest.mustache +++ b/modules/openapi-generator/src/main/resources/python-nextgen/rest.mustache @@ -2,8 +2,6 @@ {{>partial_header}} -from __future__ import absolute_import - import io import json import logging diff --git a/samples/client/echo_api/python-nextgen/openapi_client/__init__.py b/samples/client/echo_api/python-nextgen/openapi_client/__init__.py index e9e75706830..1177a5d9b38 100644 --- a/samples/client/echo_api/python-nextgen/openapi_client/__init__.py +++ b/samples/client/echo_api/python-nextgen/openapi_client/__init__.py @@ -15,8 +15,6 @@ """ -from __future__ import absolute_import - __version__ = "1.0.0" # import apis into sdk package diff --git a/samples/client/echo_api/python-nextgen/openapi_client/api/__init__.py b/samples/client/echo_api/python-nextgen/openapi_client/api/__init__.py index 541b1a8999a..411eed92583 100644 --- a/samples/client/echo_api/python-nextgen/openapi_client/api/__init__.py +++ b/samples/client/echo_api/python-nextgen/openapi_client/api/__init__.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import - # flake8: noqa # import apis into api package @@ -8,3 +6,4 @@ from openapi_client.api.form_api import FormApi from openapi_client.api.header_api import HeaderApi from openapi_client.api.path_api import PathApi from openapi_client.api.query_api import QueryApi + diff --git a/samples/client/echo_api/python-nextgen/openapi_client/api/body_api.py b/samples/client/echo_api/python-nextgen/openapi_client/api/body_api.py index 371e24d7302..ec77997499c 100644 --- a/samples/client/echo_api/python-nextgen/openapi_client/api/body_api.py +++ b/samples/client/echo_api/python-nextgen/openapi_client/api/body_api.py @@ -13,8 +13,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/client/echo_api/python-nextgen/openapi_client/api/form_api.py b/samples/client/echo_api/python-nextgen/openapi_client/api/form_api.py index c1061ca2253..93ad860382f 100644 --- a/samples/client/echo_api/python-nextgen/openapi_client/api/form_api.py +++ b/samples/client/echo_api/python-nextgen/openapi_client/api/form_api.py @@ -13,8 +13,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/client/echo_api/python-nextgen/openapi_client/api/header_api.py b/samples/client/echo_api/python-nextgen/openapi_client/api/header_api.py index 9eaaaae02f5..2a060aad18d 100644 --- a/samples/client/echo_api/python-nextgen/openapi_client/api/header_api.py +++ b/samples/client/echo_api/python-nextgen/openapi_client/api/header_api.py @@ -13,8 +13,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/client/echo_api/python-nextgen/openapi_client/api/path_api.py b/samples/client/echo_api/python-nextgen/openapi_client/api/path_api.py index 34d1b7c2abb..9b22b402ab2 100644 --- a/samples/client/echo_api/python-nextgen/openapi_client/api/path_api.py +++ b/samples/client/echo_api/python-nextgen/openapi_client/api/path_api.py @@ -13,8 +13,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/client/echo_api/python-nextgen/openapi_client/api/query_api.py b/samples/client/echo_api/python-nextgen/openapi_client/api/query_api.py index 76524882431..aa4c8482613 100644 --- a/samples/client/echo_api/python-nextgen/openapi_client/api/query_api.py +++ b/samples/client/echo_api/python-nextgen/openapi_client/api/query_api.py @@ -13,8 +13,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/client/echo_api/python-nextgen/openapi_client/api_client.py b/samples/client/echo_api/python-nextgen/openapi_client/api_client.py index 7a508e6fbfb..3d6ec22afd6 100644 --- a/samples/client/echo_api/python-nextgen/openapi_client/api_client.py +++ b/samples/client/echo_api/python-nextgen/openapi_client/api_client.py @@ -1,4 +1,5 @@ # coding: utf-8 + """ Echo Server API @@ -11,7 +12,6 @@ Do not edit the class manually. """ -from __future__ import absolute_import import atexit import datetime diff --git a/samples/client/echo_api/python-nextgen/openapi_client/configuration.py b/samples/client/echo_api/python-nextgen/openapi_client/configuration.py index 629814b7054..9276d8f0499 100644 --- a/samples/client/echo_api/python-nextgen/openapi_client/configuration.py +++ b/samples/client/echo_api/python-nextgen/openapi_client/configuration.py @@ -13,8 +13,6 @@ """ -from __future__ import absolute_import - import copy import logging import multiprocessing diff --git a/samples/client/echo_api/python-nextgen/openapi_client/models/__init__.py b/samples/client/echo_api/python-nextgen/openapi_client/models/__init__.py index efec638ad0b..29619e9c8dc 100644 --- a/samples/client/echo_api/python-nextgen/openapi_client/models/__init__.py +++ b/samples/client/echo_api/python-nextgen/openapi_client/models/__init__.py @@ -14,8 +14,6 @@ """ -from __future__ import absolute_import - # import models into model package from openapi_client.models.bird import Bird from openapi_client.models.category import Category diff --git a/samples/client/echo_api/python-nextgen/openapi_client/rest.py b/samples/client/echo_api/python-nextgen/openapi_client/rest.py index b705cbcb849..33f0615ee10 100644 --- a/samples/client/echo_api/python-nextgen/openapi_client/rest.py +++ b/samples/client/echo_api/python-nextgen/openapi_client/rest.py @@ -13,8 +13,6 @@ """ -from __future__ import absolute_import - import io import json import logging diff --git a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/__init__.py b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/__init__.py index bbf50585f34..31cf58fec33 100644 --- a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/__init__.py +++ b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/__init__.py @@ -14,8 +14,6 @@ """ -from __future__ import absolute_import - __version__ = "1.0.0" # import apis into sdk package diff --git a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/__init__.py b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/__init__.py index bc45197c40f..7a2616975a2 100644 --- a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/__init__.py +++ b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/__init__.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import - # flake8: noqa # import apis into api package @@ -10,3 +8,4 @@ from petstore_api.api.fake_classname_tags123_api import FakeClassnameTags123Api from petstore_api.api.pet_api import PetApi from petstore_api.api.store_api import StoreApi from petstore_api.api.user_api import UserApi + diff --git a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/another_fake_api.py b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/another_fake_api.py index b199686440b..e03a60ce0ef 100644 --- a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/another_fake_api.py +++ b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/another_fake_api.py @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/default_api.py b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/default_api.py index ed4f6708219..c497aac8916 100644 --- a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/default_api.py +++ b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/default_api.py @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/fake_api.py b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/fake_api.py index 4b9d11adc68..3afc7a2cc30 100644 --- a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/fake_api.py +++ b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/fake_api.py @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/fake_classname_tags123_api.py b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/fake_classname_tags123_api.py index 3e7d3df88d5..7443f859ed3 100644 --- a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/fake_classname_tags123_api.py +++ b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/fake_classname_tags123_api.py @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError 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 9be3176520f..202512fcff2 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 @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/store_api.py b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/store_api.py index 01fcb3a1a2b..92289931c84 100644 --- a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/store_api.py +++ b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/store_api.py @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/user_api.py b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/user_api.py index 3d4eab42ccc..66d311856a9 100644 --- a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/user_api.py +++ b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api/user_api.py @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api_client.py b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api_client.py index 9987a6267a7..ccb2e99402e 100644 --- a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api_client.py +++ b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/api_client.py @@ -1,4 +1,5 @@ # coding: utf-8 + """ OpenAPI Petstore @@ -10,7 +11,6 @@ Do not edit the class manually. """ -from __future__ import absolute_import import atexit import datetime diff --git a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/configuration.py b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/configuration.py index c468ea8296a..ed439f7f5af 100644 --- a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/configuration.py +++ b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/configuration.py @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import copy import logging import sys diff --git a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/models/__init__.py b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/models/__init__.py index 5f313ba72ae..b6cd78aa71c 100644 --- a/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/models/__init__.py +++ b/samples/openapi3/client/petstore/python-nextgen-aiohttp/petstore_api/models/__init__.py @@ -13,8 +13,6 @@ """ -from __future__ import absolute_import - # import models into model package from petstore_api.models.additional_properties_class import AdditionalPropertiesClass from petstore_api.models.all_of_with_single_ref import AllOfWithSingleRef diff --git a/samples/openapi3/client/petstore/python-nextgen/petstore_api/__init__.py b/samples/openapi3/client/petstore/python-nextgen/petstore_api/__init__.py index bbf50585f34..31cf58fec33 100755 --- a/samples/openapi3/client/petstore/python-nextgen/petstore_api/__init__.py +++ b/samples/openapi3/client/petstore/python-nextgen/petstore_api/__init__.py @@ -14,8 +14,6 @@ """ -from __future__ import absolute_import - __version__ = "1.0.0" # import apis into sdk package diff --git a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/__init__.py b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/__init__.py index bc45197c40f..7a2616975a2 100755 --- a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/__init__.py +++ b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/__init__.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import - # flake8: noqa # import apis into api package @@ -10,3 +8,4 @@ from petstore_api.api.fake_classname_tags123_api import FakeClassnameTags123Api from petstore_api.api.pet_api import PetApi from petstore_api.api.store_api import StoreApi from petstore_api.api.user_api import UserApi + diff --git a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/another_fake_api.py b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/another_fake_api.py index e64b41e45ce..a52190eaf36 100755 --- a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/another_fake_api.py +++ b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/another_fake_api.py @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/default_api.py b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/default_api.py index 0fae685b825..cb77b64734c 100755 --- a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/default_api.py +++ b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/default_api.py @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/fake_api.py b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/fake_api.py index 8ce851d9f06..29b19f4fd6f 100755 --- a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/fake_api.py +++ b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/fake_api.py @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/fake_classname_tags123_api.py b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/fake_classname_tags123_api.py index c596e1b5287..3221e3783b2 100644 --- a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/fake_classname_tags123_api.py +++ b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/fake_classname_tags123_api.py @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError 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 217108146f3..bff41ea66ae 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 @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/store_api.py b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/store_api.py index 8a9239355c4..79931477f78 100755 --- a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/store_api.py +++ b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/store_api.py @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/user_api.py b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/user_api.py index 1c3d3907326..bfa36bf0134 100755 --- a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/user_api.py +++ b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api/user_api.py @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import re # noqa: F401 from pydantic import validate_arguments, ValidationError diff --git a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api_client.py b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api_client.py index 20ee02c7efb..f29e49a998b 100755 --- a/samples/openapi3/client/petstore/python-nextgen/petstore_api/api_client.py +++ b/samples/openapi3/client/petstore/python-nextgen/petstore_api/api_client.py @@ -1,4 +1,5 @@ # coding: utf-8 + """ OpenAPI Petstore @@ -10,7 +11,6 @@ Do not edit the class manually. """ -from __future__ import absolute_import import atexit import datetime diff --git a/samples/openapi3/client/petstore/python-nextgen/petstore_api/configuration.py b/samples/openapi3/client/petstore/python-nextgen/petstore_api/configuration.py index c6081bbaff2..a466557ad57 100755 --- a/samples/openapi3/client/petstore/python-nextgen/petstore_api/configuration.py +++ b/samples/openapi3/client/petstore/python-nextgen/petstore_api/configuration.py @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import copy import logging import multiprocessing diff --git a/samples/openapi3/client/petstore/python-nextgen/petstore_api/models/__init__.py b/samples/openapi3/client/petstore/python-nextgen/petstore_api/models/__init__.py index 5f313ba72ae..b6cd78aa71c 100644 --- a/samples/openapi3/client/petstore/python-nextgen/petstore_api/models/__init__.py +++ b/samples/openapi3/client/petstore/python-nextgen/petstore_api/models/__init__.py @@ -13,8 +13,6 @@ """ -from __future__ import absolute_import - # import models into model package from petstore_api.models.additional_properties_class import AdditionalPropertiesClass from petstore_api.models.all_of_with_single_ref import AllOfWithSingleRef diff --git a/samples/openapi3/client/petstore/python-nextgen/petstore_api/rest.py b/samples/openapi3/client/petstore/python-nextgen/petstore_api/rest.py index c12ef1c6504..e26c0b96ea2 100755 --- a/samples/openapi3/client/petstore/python-nextgen/petstore_api/rest.py +++ b/samples/openapi3/client/petstore/python-nextgen/petstore_api/rest.py @@ -12,8 +12,6 @@ """ -from __future__ import absolute_import - import io import json import logging