From e00ac502f1cf51287a6e8f79c1fec20ba5d03c97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Clgen=20Sar=C4=B1kavak?= Date: Mon, 7 Dec 2020 23:07:35 +0300 Subject: [PATCH] [python] Update python versions (#8042) * Remove redundant encoding definitions UTF-8 is already the default encoding in Python 3. * Remove Python3.4 related requirements * Remove dead Python version 3.5 * Add Python 3.9 to CI and test configs * Update petstore example --- .../src/main/resources/python/README.mustache | 2 +- .../src/main/resources/python/README_onlypackage.mustache | 2 +- .../src/main/resources/python/__init__apis.mustache | 1 - .../src/main/resources/python/__init__models.mustache | 2 -- .../src/main/resources/python/__init__package.mustache | 2 -- .../src/main/resources/python/api.mustache | 2 -- .../src/main/resources/python/api_client.mustache | 1 - .../src/main/resources/python/api_test.mustache | 2 -- .../src/main/resources/python/asyncio/rest.mustache | 2 -- .../src/main/resources/python/configuration.mustache | 2 -- .../src/main/resources/python/exceptions.mustache | 2 -- .../src/main/resources/python/gitlab-ci.mustache | 6 +++--- .../src/main/resources/python/model.mustache | 2 -- .../src/main/resources/python/model_test.mustache | 2 -- .../src/main/resources/python/model_utils.mustache | 2 -- .../src/main/resources/python/rest.mustache | 2 -- .../src/main/resources/python/setup.mustache | 4 +--- .../src/main/resources/python/signing.mustache | 1 - .../src/main/resources/python/test-requirements.mustache | 4 +--- .../src/main/resources/python/tornado/rest.mustache | 2 -- .../src/main/resources/python/travis.mustache | 2 +- samples/client/petstore/python/.gitlab-ci.yml | 6 +++--- samples/client/petstore/python/.travis.yml | 2 +- samples/client/petstore/python/README.md | 2 +- samples/client/petstore/python/petstore_api/__init__.py | 2 -- .../petstore/python/petstore_api/api/another_fake_api.py | 2 -- samples/client/petstore/python/petstore_api/api/fake_api.py | 2 -- .../python/petstore_api/api/fake_classname_tags_123_api.py | 2 -- samples/client/petstore/python/petstore_api/api/pet_api.py | 2 -- .../client/petstore/python/petstore_api/api/store_api.py | 2 -- samples/client/petstore/python/petstore_api/api/user_api.py | 2 -- samples/client/petstore/python/petstore_api/api_client.py | 1 - .../client/petstore/python/petstore_api/apis/__init__.py | 1 - .../client/petstore/python/petstore_api/configuration.py | 2 -- samples/client/petstore/python/petstore_api/exceptions.py | 2 -- .../petstore_api/model/additional_properties_any_type.py | 2 -- .../petstore_api/model/additional_properties_array.py | 2 -- .../petstore_api/model/additional_properties_boolean.py | 2 -- .../petstore_api/model/additional_properties_class.py | 2 -- .../petstore_api/model/additional_properties_integer.py | 2 -- .../petstore_api/model/additional_properties_number.py | 2 -- .../petstore_api/model/additional_properties_object.py | 2 -- .../petstore_api/model/additional_properties_string.py | 2 -- samples/client/petstore/python/petstore_api/model/animal.py | 2 -- .../petstore/python/petstore_api/model/animal_farm.py | 2 -- .../petstore/python/petstore_api/model/api_response.py | 2 -- .../petstore_api/model/array_of_array_of_number_only.py | 2 -- .../python/petstore_api/model/array_of_number_only.py | 2 -- .../client/petstore/python/petstore_api/model/array_test.py | 2 -- .../petstore/python/petstore_api/model/capitalization.py | 2 -- samples/client/petstore/python/petstore_api/model/cat.py | 2 -- .../client/petstore/python/petstore_api/model/cat_all_of.py | 2 -- .../client/petstore/python/petstore_api/model/category.py | 2 -- samples/client/petstore/python/petstore_api/model/child.py | 2 -- .../petstore/python/petstore_api/model/child_all_of.py | 2 -- .../client/petstore/python/petstore_api/model/child_cat.py | 2 -- .../petstore/python/petstore_api/model/child_cat_all_of.py | 2 -- .../client/petstore/python/petstore_api/model/child_dog.py | 2 -- .../petstore/python/petstore_api/model/child_dog_all_of.py | 2 -- .../petstore/python/petstore_api/model/child_lizard.py | 2 -- .../python/petstore_api/model/child_lizard_all_of.py | 2 -- .../petstore/python/petstore_api/model/class_model.py | 2 -- samples/client/petstore/python/petstore_api/model/client.py | 2 -- samples/client/petstore/python/petstore_api/model/dog.py | 2 -- .../client/petstore/python/petstore_api/model/dog_all_of.py | 2 -- .../petstore/python/petstore_api/model/enum_arrays.py | 2 -- .../client/petstore/python/petstore_api/model/enum_class.py | 2 -- .../client/petstore/python/petstore_api/model/enum_test.py | 2 -- samples/client/petstore/python/petstore_api/model/file.py | 2 -- .../python/petstore_api/model/file_schema_test_class.py | 2 -- .../petstore/python/petstore_api/model/format_test.py | 2 -- .../petstore/python/petstore_api/model/grandparent.py | 2 -- .../python/petstore_api/model/grandparent_animal.py | 2 -- .../python/petstore_api/model/has_only_read_only.py | 2 -- samples/client/petstore/python/petstore_api/model/list.py | 2 -- .../client/petstore/python/petstore_api/model/map_test.py | 2 -- .../mixed_properties_and_additional_properties_class.py | 2 -- .../petstore/python/petstore_api/model/model200_response.py | 2 -- .../petstore/python/petstore_api/model/model_return.py | 2 -- samples/client/petstore/python/petstore_api/model/name.py | 2 -- .../petstore/python/petstore_api/model/number_only.py | 2 -- .../python/petstore_api/model/number_with_validations.py | 2 -- .../petstore_api/model/object_model_with_ref_props.py | 2 -- samples/client/petstore/python/petstore_api/model/order.py | 2 -- samples/client/petstore/python/petstore_api/model/parent.py | 2 -- .../petstore/python/petstore_api/model/parent_all_of.py | 2 -- .../client/petstore/python/petstore_api/model/parent_pet.py | 2 -- samples/client/petstore/python/petstore_api/model/pet.py | 2 -- samples/client/petstore/python/petstore_api/model/player.py | 2 -- .../petstore/python/petstore_api/model/read_only_first.py | 2 -- .../python/petstore_api/model/special_model_name.py | 2 -- .../python/petstore_api/model/string_boolean_map.py | 2 -- .../petstore/python/petstore_api/model/string_enum.py | 2 -- samples/client/petstore/python/petstore_api/model/tag.py | 2 -- .../python/petstore_api/model/type_holder_default.py | 2 -- .../python/petstore_api/model/type_holder_example.py | 2 -- samples/client/petstore/python/petstore_api/model/user.py | 2 -- .../client/petstore/python/petstore_api/model/xml_item.py | 2 -- samples/client/petstore/python/petstore_api/model_utils.py | 2 -- .../client/petstore/python/petstore_api/models/__init__.py | 2 -- samples/client/petstore/python/petstore_api/rest.py | 2 -- samples/client/petstore/python/setup.py | 4 +--- samples/client/petstore/python/test-requirements.txt | 2 -- .../client/extensions/x-auth-id-alias/python/.gitlab-ci.yml | 6 +++--- .../client/extensions/x-auth-id-alias/python/.travis.yml | 2 +- .../client/extensions/x-auth-id-alias/python/README.md | 2 +- .../client/extensions/x-auth-id-alias/python/setup.py | 4 +--- .../extensions/x-auth-id-alias/python/test-requirements.txt | 2 -- .../x-auth-id-alias/python/x_auth_id_alias/__init__.py | 2 -- .../x-auth-id-alias/python/x_auth_id_alias/api/usage_api.py | 2 -- .../x-auth-id-alias/python/x_auth_id_alias/api_client.py | 1 - .../x-auth-id-alias/python/x_auth_id_alias/apis/__init__.py | 1 - .../x-auth-id-alias/python/x_auth_id_alias/configuration.py | 2 -- .../x-auth-id-alias/python/x_auth_id_alias/exceptions.py | 2 -- .../x-auth-id-alias/python/x_auth_id_alias/model_utils.py | 2 -- .../python/x_auth_id_alias/models/__init__.py | 2 -- .../x-auth-id-alias/python/x_auth_id_alias/rest.py | 2 -- .../client/features/dynamic-servers/python/.gitlab-ci.yml | 6 +++--- .../client/features/dynamic-servers/python/.travis.yml | 2 +- .../client/features/dynamic-servers/python/README.md | 2 +- .../dynamic-servers/python/dynamic_servers/__init__.py | 2 -- .../dynamic-servers/python/dynamic_servers/api/usage_api.py | 2 -- .../dynamic-servers/python/dynamic_servers/api_client.py | 1 - .../dynamic-servers/python/dynamic_servers/apis/__init__.py | 1 - .../dynamic-servers/python/dynamic_servers/configuration.py | 2 -- .../dynamic-servers/python/dynamic_servers/exceptions.py | 2 -- .../dynamic-servers/python/dynamic_servers/model_utils.py | 2 -- .../python/dynamic_servers/models/__init__.py | 2 -- .../features/dynamic-servers/python/dynamic_servers/rest.py | 2 -- .../client/features/dynamic-servers/python/setup.py | 4 +--- .../features/dynamic-servers/python/test-requirements.txt | 2 -- samples/openapi3/client/petstore/python/.gitlab-ci.yml | 6 +++--- samples/openapi3/client/petstore/python/.travis.yml | 2 +- samples/openapi3/client/petstore/python/README.md | 2 +- .../client/petstore/python/petstore_api/__init__.py | 2 -- .../petstore/python/petstore_api/api/another_fake_api.py | 2 -- .../client/petstore/python/petstore_api/api/default_api.py | 2 -- .../client/petstore/python/petstore_api/api/fake_api.py | 2 -- .../python/petstore_api/api/fake_classname_tags_123_api.py | 2 -- .../client/petstore/python/petstore_api/api/pet_api.py | 2 -- .../client/petstore/python/petstore_api/api/store_api.py | 2 -- .../client/petstore/python/petstore_api/api/user_api.py | 2 -- .../client/petstore/python/petstore_api/api_client.py | 1 - .../client/petstore/python/petstore_api/apis/__init__.py | 1 - .../client/petstore/python/petstore_api/configuration.py | 2 -- .../client/petstore/python/petstore_api/exceptions.py | 2 -- .../petstore_api/model/additional_properties_class.py | 2 -- .../model/additional_properties_with_array_of_enums.py | 2 -- .../client/petstore/python/petstore_api/model/address.py | 2 -- .../client/petstore/python/petstore_api/model/animal.py | 2 -- .../petstore/python/petstore_api/model/animal_farm.py | 2 -- .../petstore/python/petstore_api/model/api_response.py | 2 -- .../client/petstore/python/petstore_api/model/apple.py | 2 -- .../client/petstore/python/petstore_api/model/apple_req.py | 2 -- .../petstore_api/model/array_of_array_of_number_only.py | 2 -- .../petstore/python/petstore_api/model/array_of_enums.py | 2 -- .../python/petstore_api/model/array_of_number_only.py | 2 -- .../client/petstore/python/petstore_api/model/array_test.py | 2 -- .../client/petstore/python/petstore_api/model/banana.py | 2 -- .../client/petstore/python/petstore_api/model/banana_req.py | 2 -- .../client/petstore/python/petstore_api/model/basque_pig.py | 2 -- .../petstore/python/petstore_api/model/capitalization.py | 2 -- .../client/petstore/python/petstore_api/model/cat.py | 2 -- .../client/petstore/python/petstore_api/model/cat_all_of.py | 2 -- .../client/petstore/python/petstore_api/model/category.py | 2 -- .../client/petstore/python/petstore_api/model/child_cat.py | 2 -- .../petstore/python/petstore_api/model/child_cat_all_of.py | 2 -- .../petstore/python/petstore_api/model/class_model.py | 2 -- .../client/petstore/python/petstore_api/model/client.py | 2 -- .../python/petstore_api/model/complex_quadrilateral.py | 2 -- .../model/composed_one_of_number_with_validations.py | 2 -- .../client/petstore/python/petstore_api/model/danish_pig.py | 2 -- .../client/petstore/python/petstore_api/model/dog.py | 2 -- .../client/petstore/python/petstore_api/model/dog_all_of.py | 2 -- .../client/petstore/python/petstore_api/model/drawing.py | 2 -- .../petstore/python/petstore_api/model/enum_arrays.py | 2 -- .../client/petstore/python/petstore_api/model/enum_class.py | 2 -- .../client/petstore/python/petstore_api/model/enum_test.py | 2 -- .../python/petstore_api/model/equilateral_triangle.py | 2 -- .../client/petstore/python/petstore_api/model/file.py | 2 -- .../python/petstore_api/model/file_schema_test_class.py | 2 -- .../client/petstore/python/petstore_api/model/foo.py | 2 -- .../petstore/python/petstore_api/model/format_test.py | 2 -- .../client/petstore/python/petstore_api/model/fruit.py | 2 -- .../client/petstore/python/petstore_api/model/fruit_req.py | 2 -- .../client/petstore/python/petstore_api/model/gm_fruit.py | 2 -- .../python/petstore_api/model/grandparent_animal.py | 2 -- .../python/petstore_api/model/has_only_read_only.py | 2 -- .../python/petstore_api/model/health_check_result.py | 2 -- .../petstore/python/petstore_api/model/inline_object.py | 2 -- .../petstore/python/petstore_api/model/inline_object1.py | 2 -- .../petstore/python/petstore_api/model/inline_object2.py | 2 -- .../petstore/python/petstore_api/model/inline_object3.py | 2 -- .../petstore/python/petstore_api/model/inline_object4.py | 2 -- .../petstore/python/petstore_api/model/inline_object5.py | 2 -- .../python/petstore_api/model/inline_response_default.py | 2 -- .../petstore/python/petstore_api/model/integer_enum.py | 2 -- .../python/petstore_api/model/integer_enum_one_value.py | 2 -- .../petstore_api/model/integer_enum_with_default_value.py | 2 -- .../python/petstore_api/model/isosceles_triangle.py | 2 -- .../client/petstore/python/petstore_api/model/list.py | 2 -- .../client/petstore/python/petstore_api/model/mammal.py | 2 -- .../client/petstore/python/petstore_api/model/map_test.py | 2 -- .../mixed_properties_and_additional_properties_class.py | 2 -- .../petstore/python/petstore_api/model/model200_response.py | 2 -- .../petstore/python/petstore_api/model/model_return.py | 2 -- .../client/petstore/python/petstore_api/model/name.py | 2 -- .../petstore/python/petstore_api/model/nullable_class.py | 2 -- .../petstore/python/petstore_api/model/nullable_shape.py | 2 -- .../petstore/python/petstore_api/model/number_only.py | 2 -- .../python/petstore_api/model/number_with_validations.py | 2 -- .../petstore/python/petstore_api/model/object_interface.py | 2 -- .../petstore_api/model/object_model_with_ref_props.py | 2 -- .../python/petstore_api/model/object_with_validations.py | 2 -- .../client/petstore/python/petstore_api/model/order.py | 2 -- .../client/petstore/python/petstore_api/model/parent_pet.py | 2 -- .../client/petstore/python/petstore_api/model/pet.py | 2 -- .../client/petstore/python/petstore_api/model/pig.py | 2 -- .../petstore/python/petstore_api/model/quadrilateral.py | 2 -- .../python/petstore_api/model/quadrilateral_interface.py | 2 -- .../petstore/python/petstore_api/model/read_only_first.py | 2 -- .../petstore/python/petstore_api/model/scalene_triangle.py | 2 -- .../client/petstore/python/petstore_api/model/shape.py | 2 -- .../petstore/python/petstore_api/model/shape_interface.py | 2 -- .../petstore/python/petstore_api/model/shape_or_null.py | 2 -- .../python/petstore_api/model/simple_quadrilateral.py | 2 -- .../petstore/python/petstore_api/model/some_object.py | 2 -- .../python/petstore_api/model/special_model_name.py | 2 -- .../python/petstore_api/model/string_boolean_map.py | 2 -- .../petstore/python/petstore_api/model/string_enum.py | 2 -- .../petstore_api/model/string_enum_with_default_value.py | 2 -- .../client/petstore/python/petstore_api/model/tag.py | 2 -- .../client/petstore/python/petstore_api/model/triangle.py | 2 -- .../python/petstore_api/model/triangle_interface.py | 2 -- .../client/petstore/python/petstore_api/model/user.py | 2 -- .../client/petstore/python/petstore_api/model/whale.py | 2 -- .../client/petstore/python/petstore_api/model/zebra.py | 2 -- .../client/petstore/python/petstore_api/model_utils.py | 2 -- .../client/petstore/python/petstore_api/models/__init__.py | 2 -- .../openapi3/client/petstore/python/petstore_api/rest.py | 2 -- .../openapi3/client/petstore/python/petstore_api/signing.py | 1 - samples/openapi3/client/petstore/python/setup.py | 4 +--- .../openapi3/client/petstore/python/test-requirements.txt | 2 -- 243 files changed, 32 insertions(+), 474 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/python/README.mustache b/modules/openapi-generator/src/main/resources/python/README.mustache index 463e4e0d565..65a06eaae01 100644 --- a/modules/openapi-generator/src/main/resources/python/README.mustache +++ b/modules/openapi-generator/src/main/resources/python/README.mustache @@ -17,7 +17,7 @@ For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}}) ## Requirements. -Python >= 3.5 +Python >= 3.6 ## Installation & Usage ### pip install diff --git a/modules/openapi-generator/src/main/resources/python/README_onlypackage.mustache b/modules/openapi-generator/src/main/resources/python/README_onlypackage.mustache index 40dc242b7b6..684f4a5efbd 100644 --- a/modules/openapi-generator/src/main/resources/python/README_onlypackage.mustache +++ b/modules/openapi-generator/src/main/resources/python/README_onlypackage.mustache @@ -17,7 +17,7 @@ For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}}) ## Requirements. -Python >= 3.5 +Python >= 3.6 ## Installation & Usage diff --git a/modules/openapi-generator/src/main/resources/python/__init__apis.mustache b/modules/openapi-generator/src/main/resources/python/__init__apis.mustache index 32d101a97d1..b4ec8a9a472 100644 --- a/modules/openapi-generator/src/main/resources/python/__init__apis.mustache +++ b/modules/openapi-generator/src/main/resources/python/__init__apis.mustache @@ -1,7 +1,6 @@ {{#apiInfo}} {{#apis}} {{#-first}} -# coding: utf-8 # flake8: noqa diff --git a/modules/openapi-generator/src/main/resources/python/__init__models.mustache b/modules/openapi-generator/src/main/resources/python/__init__models.mustache index 5a2f25f8754..76d91fc5d47 100644 --- a/modules/openapi-generator/src/main/resources/python/__init__models.mustache +++ b/modules/openapi-generator/src/main/resources/python/__init__models.mustache @@ -1,5 +1,3 @@ -# coding: utf-8 - # flake8: noqa # import all models into this package diff --git a/modules/openapi-generator/src/main/resources/python/__init__package.mustache b/modules/openapi-generator/src/main/resources/python/__init__package.mustache index d7ff5b82602..6308ba683f7 100644 --- a/modules/openapi-generator/src/main/resources/python/__init__package.mustache +++ b/modules/openapi-generator/src/main/resources/python/__init__package.mustache @@ -1,5 +1,3 @@ -# coding: utf-8 - # flake8: noqa {{>partial_header}} diff --git a/modules/openapi-generator/src/main/resources/python/api.mustache b/modules/openapi-generator/src/main/resources/python/api.mustache index 0e76b3f29fb..eb9a9cd2ef6 100644 --- a/modules/openapi-generator/src/main/resources/python/api.mustache +++ b/modules/openapi-generator/src/main/resources/python/api.mustache @@ -1,5 +1,3 @@ -# coding: utf-8 - {{>partial_header}} import re # noqa: F401 diff --git a/modules/openapi-generator/src/main/resources/python/api_client.mustache b/modules/openapi-generator/src/main/resources/python/api_client.mustache index 63ad0f1f8f7..aaf14c4af36 100644 --- a/modules/openapi-generator/src/main/resources/python/api_client.mustache +++ b/modules/openapi-generator/src/main/resources/python/api_client.mustache @@ -1,4 +1,3 @@ -# coding: utf-8 {{>partial_header}} import json diff --git a/modules/openapi-generator/src/main/resources/python/api_test.mustache b/modules/openapi-generator/src/main/resources/python/api_test.mustache index f9276b443ce..bf2cd192857 100644 --- a/modules/openapi-generator/src/main/resources/python/api_test.mustache +++ b/modules/openapi-generator/src/main/resources/python/api_test.mustache @@ -1,5 +1,3 @@ -# coding: utf-8 - {{>partial_header}} import unittest diff --git a/modules/openapi-generator/src/main/resources/python/asyncio/rest.mustache b/modules/openapi-generator/src/main/resources/python/asyncio/rest.mustache index 44531fce5a2..7d1f477ea5f 100644 --- a/modules/openapi-generator/src/main/resources/python/asyncio/rest.mustache +++ b/modules/openapi-generator/src/main/resources/python/asyncio/rest.mustache @@ -1,5 +1,3 @@ -# coding: utf-8 - {{>partial_header}} import io diff --git a/modules/openapi-generator/src/main/resources/python/configuration.mustache b/modules/openapi-generator/src/main/resources/python/configuration.mustache index ca6fc37747f..88697bc45f6 100644 --- a/modules/openapi-generator/src/main/resources/python/configuration.mustache +++ b/modules/openapi-generator/src/main/resources/python/configuration.mustache @@ -1,5 +1,3 @@ -# coding: utf-8 - {{>partial_header}} import copy diff --git a/modules/openapi-generator/src/main/resources/python/exceptions.mustache b/modules/openapi-generator/src/main/resources/python/exceptions.mustache index a60554dc5e7..046dcd9a5a2 100644 --- a/modules/openapi-generator/src/main/resources/python/exceptions.mustache +++ b/modules/openapi-generator/src/main/resources/python/exceptions.mustache @@ -1,5 +1,3 @@ -# coding: utf-8 - {{>partial_header}} diff --git a/modules/openapi-generator/src/main/resources/python/gitlab-ci.mustache b/modules/openapi-generator/src/main/resources/python/gitlab-ci.mustache index 60c4b378933..cf785a80ab6 100644 --- a/modules/openapi-generator/src/main/resources/python/gitlab-ci.mustache +++ b/modules/openapi-generator/src/main/resources/python/gitlab-ci.mustache @@ -15,9 +15,6 @@ stages: - pytest --cov={{{packageName}}} {{/useNose}} -test-3.5: - extends: .tests - image: python:3.5-alpine test-3.6: extends: .tests image: python:3.6-alpine @@ -27,3 +24,6 @@ test-3.7: test-3.8: extends: .tests image: python:3.8-alpine +test-3.9: + extends: .tests + image: python:3.9-alpine diff --git a/modules/openapi-generator/src/main/resources/python/model.mustache b/modules/openapi-generator/src/main/resources/python/model.mustache index f2cb2368ca0..34fd9e5cde7 100644 --- a/modules/openapi-generator/src/main/resources/python/model.mustache +++ b/modules/openapi-generator/src/main/resources/python/model.mustache @@ -1,5 +1,3 @@ -# coding: utf-8 - {{> partial_header }} import re # noqa: F401 diff --git a/modules/openapi-generator/src/main/resources/python/model_test.mustache b/modules/openapi-generator/src/main/resources/python/model_test.mustache index 669cc12185f..aa95f649441 100644 --- a/modules/openapi-generator/src/main/resources/python/model_test.mustache +++ b/modules/openapi-generator/src/main/resources/python/model_test.mustache @@ -1,5 +1,3 @@ -# coding: utf-8 - {{>partial_header}} import sys diff --git a/modules/openapi-generator/src/main/resources/python/model_utils.mustache b/modules/openapi-generator/src/main/resources/python/model_utils.mustache index 1523dbc2d76..9f3264e98ed 100644 --- a/modules/openapi-generator/src/main/resources/python/model_utils.mustache +++ b/modules/openapi-generator/src/main/resources/python/model_utils.mustache @@ -1,5 +1,3 @@ -# coding: utf-8 - {{>partial_header}} from datetime import date, datetime # noqa: F401 diff --git a/modules/openapi-generator/src/main/resources/python/rest.mustache b/modules/openapi-generator/src/main/resources/python/rest.mustache index cc8884fb779..0fbb0831aeb 100644 --- a/modules/openapi-generator/src/main/resources/python/rest.mustache +++ b/modules/openapi-generator/src/main/resources/python/rest.mustache @@ -1,5 +1,3 @@ -# coding: utf-8 - {{>partial_header}} import io diff --git a/modules/openapi-generator/src/main/resources/python/setup.mustache b/modules/openapi-generator/src/main/resources/python/setup.mustache index 632584a592a..a009be3f91f 100644 --- a/modules/openapi-generator/src/main/resources/python/setup.mustache +++ b/modules/openapi-generator/src/main/resources/python/setup.mustache @@ -1,5 +1,3 @@ -# coding: utf-8 - {{>partial_header}} from setuptools import setup, find_packages # noqa: H301 @@ -41,7 +39,7 @@ setup( author_email="{{#infoEmail}}{{infoEmail}}{{/infoEmail}}{{^infoEmail}}team@openapitools.org{{/infoEmail}}", url="{{packageUrl}}", keywords=["OpenAPI", "OpenAPI-Generator", "{{{appName}}}"], - python_requires=">=3.5", + python_requires=">=3.6", install_requires=REQUIRES, packages=find_packages(exclude=["test", "tests"]), include_package_data=True, diff --git a/modules/openapi-generator/src/main/resources/python/signing.mustache b/modules/openapi-generator/src/main/resources/python/signing.mustache index 26d2b8cb37c..8dfbf5148f3 100644 --- a/modules/openapi-generator/src/main/resources/python/signing.mustache +++ b/modules/openapi-generator/src/main/resources/python/signing.mustache @@ -1,4 +1,3 @@ -# coding: utf-8 {{>partial_header}} from base64 import b64encode diff --git a/modules/openapi-generator/src/main/resources/python/test-requirements.mustache b/modules/openapi-generator/src/main/resources/python/test-requirements.mustache index cc68f6484f1..635b816e74b 100644 --- a/modules/openapi-generator/src/main/resources/python/test-requirements.mustache +++ b/modules/openapi-generator/src/main/resources/python/test-requirements.mustache @@ -6,10 +6,8 @@ py>=1.4.31 randomize>=0.13 {{/useNose}} {{^useNose}} -pytest~=4.6.7 # needed for python 3.4 pytest-cov>=2.8.1 -pytest-randomly==1.2.3 # needed for python 3.4 {{/useNose}} {{#hasHttpSignatureMethods}} pycryptodome>=3.9.0 -{{/hasHttpSignatureMethods}} \ No newline at end of file +{{/hasHttpSignatureMethods}} diff --git a/modules/openapi-generator/src/main/resources/python/tornado/rest.mustache b/modules/openapi-generator/src/main/resources/python/tornado/rest.mustache index 2679760ea5b..9e5cc12092d 100644 --- a/modules/openapi-generator/src/main/resources/python/tornado/rest.mustache +++ b/modules/openapi-generator/src/main/resources/python/tornado/rest.mustache @@ -1,5 +1,3 @@ -# coding: utf-8 - {{>partial_header}} import io diff --git a/modules/openapi-generator/src/main/resources/python/travis.mustache b/modules/openapi-generator/src/main/resources/python/travis.mustache index 3c255f64e99..a26c984f3d2 100644 --- a/modules/openapi-generator/src/main/resources/python/travis.mustache +++ b/modules/openapi-generator/src/main/resources/python/travis.mustache @@ -1,10 +1,10 @@ # ref: https://docs.travis-ci.com/user/languages/python language: python python: - - "3.5" - "3.6" - "3.7" - "3.8" + - "3.9" # command to install dependencies install: - "pip install -r requirements.txt" diff --git a/samples/client/petstore/python/.gitlab-ci.yml b/samples/client/petstore/python/.gitlab-ci.yml index 611e425676e..9e84f517616 100644 --- a/samples/client/petstore/python/.gitlab-ci.yml +++ b/samples/client/petstore/python/.gitlab-ci.yml @@ -10,9 +10,6 @@ stages: - pip install -r test-requirements.txt - pytest --cov=petstore_api -test-3.5: - extends: .tests - image: python:3.5-alpine test-3.6: extends: .tests image: python:3.6-alpine @@ -22,3 +19,6 @@ test-3.7: test-3.8: extends: .tests image: python:3.8-alpine +test-3.9: + extends: .tests + image: python:3.9-alpine diff --git a/samples/client/petstore/python/.travis.yml b/samples/client/petstore/python/.travis.yml index f931f0f74b9..1fcc4b15596 100644 --- a/samples/client/petstore/python/.travis.yml +++ b/samples/client/petstore/python/.travis.yml @@ -1,10 +1,10 @@ # ref: https://docs.travis-ci.com/user/languages/python language: python python: - - "3.5" - "3.6" - "3.7" - "3.8" + - "3.9" # command to install dependencies install: - "pip install -r requirements.txt" diff --git a/samples/client/petstore/python/README.md b/samples/client/petstore/python/README.md index 2d85178cd3e..956094cd13f 100644 --- a/samples/client/petstore/python/README.md +++ b/samples/client/petstore/python/README.md @@ -9,7 +9,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https: ## Requirements. -Python >= 3.5 +Python >= 3.6 ## Installation & Usage ### pip install diff --git a/samples/client/petstore/python/petstore_api/__init__.py b/samples/client/petstore/python/petstore_api/__init__.py index 50dbde60cc5..26dd6f84e21 100644 --- a/samples/client/petstore/python/petstore_api/__init__.py +++ b/samples/client/petstore/python/petstore_api/__init__.py @@ -1,5 +1,3 @@ -# coding: utf-8 - # flake8: noqa """ diff --git a/samples/client/petstore/python/petstore_api/api/another_fake_api.py b/samples/client/petstore/python/petstore_api/api/another_fake_api.py index 29cc147fd32..f476fcf97bc 100644 --- a/samples/client/petstore/python/petstore_api/api/another_fake_api.py +++ b/samples/client/petstore/python/petstore_api/api/another_fake_api.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/api/fake_api.py b/samples/client/petstore/python/petstore_api/api/fake_api.py index 316c8136ce2..bebae13a1bc 100644 --- a/samples/client/petstore/python/petstore_api/api/fake_api.py +++ b/samples/client/petstore/python/petstore_api/api/fake_api.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/api/fake_classname_tags_123_api.py b/samples/client/petstore/python/petstore_api/api/fake_classname_tags_123_api.py index 634f9f13103..8338253f84d 100644 --- a/samples/client/petstore/python/petstore_api/api/fake_classname_tags_123_api.py +++ b/samples/client/petstore/python/petstore_api/api/fake_classname_tags_123_api.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/api/pet_api.py b/samples/client/petstore/python/petstore_api/api/pet_api.py index 66611a73f3c..9bd9bfcc3ce 100644 --- a/samples/client/petstore/python/petstore_api/api/pet_api.py +++ b/samples/client/petstore/python/petstore_api/api/pet_api.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/api/store_api.py b/samples/client/petstore/python/petstore_api/api/store_api.py index 7e6b6cba1c8..27417cde4eb 100644 --- a/samples/client/petstore/python/petstore_api/api/store_api.py +++ b/samples/client/petstore/python/petstore_api/api/store_api.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/api/user_api.py b/samples/client/petstore/python/petstore_api/api/user_api.py index 92dae02b424..8df2eca21f0 100644 --- a/samples/client/petstore/python/petstore_api/api/user_api.py +++ b/samples/client/petstore/python/petstore_api/api/user_api.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/api_client.py b/samples/client/petstore/python/petstore_api/api_client.py index 1d3ba2417c5..a6472b9579d 100644 --- a/samples/client/petstore/python/petstore_api/api_client.py +++ b/samples/client/petstore/python/petstore_api/api_client.py @@ -1,4 +1,3 @@ -# coding: utf-8 """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/apis/__init__.py b/samples/client/petstore/python/petstore_api/apis/__init__.py index 278ce6b70bd..e4c52458a0c 100644 --- a/samples/client/petstore/python/petstore_api/apis/__init__.py +++ b/samples/client/petstore/python/petstore_api/apis/__init__.py @@ -1,4 +1,3 @@ -# coding: utf-8 # flake8: noqa diff --git a/samples/client/petstore/python/petstore_api/configuration.py b/samples/client/petstore/python/petstore_api/configuration.py index 516b0339732..eb7fee84f46 100644 --- a/samples/client/petstore/python/petstore_api/configuration.py +++ b/samples/client/petstore/python/petstore_api/configuration.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/exceptions.py b/samples/client/petstore/python/petstore_api/exceptions.py index 32affc2df46..51527f60611 100644 --- a/samples/client/petstore/python/petstore_api/exceptions.py +++ b/samples/client/petstore/python/petstore_api/exceptions.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/additional_properties_any_type.py b/samples/client/petstore/python/petstore_api/model/additional_properties_any_type.py index b1f844846c7..6be540eff39 100644 --- a/samples/client/petstore/python/petstore_api/model/additional_properties_any_type.py +++ b/samples/client/petstore/python/petstore_api/model/additional_properties_any_type.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/additional_properties_array.py b/samples/client/petstore/python/petstore_api/model/additional_properties_array.py index ca203ae6269..0f7d7d0f67f 100644 --- a/samples/client/petstore/python/petstore_api/model/additional_properties_array.py +++ b/samples/client/petstore/python/petstore_api/model/additional_properties_array.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/additional_properties_boolean.py b/samples/client/petstore/python/petstore_api/model/additional_properties_boolean.py index c5d5aadbc25..f76309b7675 100644 --- a/samples/client/petstore/python/petstore_api/model/additional_properties_boolean.py +++ b/samples/client/petstore/python/petstore_api/model/additional_properties_boolean.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/additional_properties_class.py b/samples/client/petstore/python/petstore_api/model/additional_properties_class.py index 029cdcbb05f..a08504d6d7e 100644 --- a/samples/client/petstore/python/petstore_api/model/additional_properties_class.py +++ b/samples/client/petstore/python/petstore_api/model/additional_properties_class.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/additional_properties_integer.py b/samples/client/petstore/python/petstore_api/model/additional_properties_integer.py index e5e6fbd3f5b..f190aa93565 100644 --- a/samples/client/petstore/python/petstore_api/model/additional_properties_integer.py +++ b/samples/client/petstore/python/petstore_api/model/additional_properties_integer.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/additional_properties_number.py b/samples/client/petstore/python/petstore_api/model/additional_properties_number.py index 96e73426096..54d952d01cd 100644 --- a/samples/client/petstore/python/petstore_api/model/additional_properties_number.py +++ b/samples/client/petstore/python/petstore_api/model/additional_properties_number.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/additional_properties_object.py b/samples/client/petstore/python/petstore_api/model/additional_properties_object.py index e07853f983b..7d62ed91ab8 100644 --- a/samples/client/petstore/python/petstore_api/model/additional_properties_object.py +++ b/samples/client/petstore/python/petstore_api/model/additional_properties_object.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/additional_properties_string.py b/samples/client/petstore/python/petstore_api/model/additional_properties_string.py index 963b28c2280..8f113367997 100644 --- a/samples/client/petstore/python/petstore_api/model/additional_properties_string.py +++ b/samples/client/petstore/python/petstore_api/model/additional_properties_string.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/animal.py b/samples/client/petstore/python/petstore_api/model/animal.py index a155d8c4266..9767120a13e 100644 --- a/samples/client/petstore/python/petstore_api/model/animal.py +++ b/samples/client/petstore/python/petstore_api/model/animal.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/animal_farm.py b/samples/client/petstore/python/petstore_api/model/animal_farm.py index bf7bbf04c38..97f342cef81 100644 --- a/samples/client/petstore/python/petstore_api/model/animal_farm.py +++ b/samples/client/petstore/python/petstore_api/model/animal_farm.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/api_response.py b/samples/client/petstore/python/petstore_api/model/api_response.py index bce1291d1f6..77747427405 100644 --- a/samples/client/petstore/python/petstore_api/model/api_response.py +++ b/samples/client/petstore/python/petstore_api/model/api_response.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/array_of_array_of_number_only.py b/samples/client/petstore/python/petstore_api/model/array_of_array_of_number_only.py index 7c7c2743398..f4d7c4b8901 100644 --- a/samples/client/petstore/python/petstore_api/model/array_of_array_of_number_only.py +++ b/samples/client/petstore/python/petstore_api/model/array_of_array_of_number_only.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/array_of_number_only.py b/samples/client/petstore/python/petstore_api/model/array_of_number_only.py index 4947154bb6e..de65fb7e497 100644 --- a/samples/client/petstore/python/petstore_api/model/array_of_number_only.py +++ b/samples/client/petstore/python/petstore_api/model/array_of_number_only.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/array_test.py b/samples/client/petstore/python/petstore_api/model/array_test.py index 7b4d47ace89..b56cf1f70a8 100644 --- a/samples/client/petstore/python/petstore_api/model/array_test.py +++ b/samples/client/petstore/python/petstore_api/model/array_test.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/capitalization.py b/samples/client/petstore/python/petstore_api/model/capitalization.py index 3e0068ed683..420c5273069 100644 --- a/samples/client/petstore/python/petstore_api/model/capitalization.py +++ b/samples/client/petstore/python/petstore_api/model/capitalization.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/cat.py b/samples/client/petstore/python/petstore_api/model/cat.py index 7f4e8ee322e..b0d7c95485d 100644 --- a/samples/client/petstore/python/petstore_api/model/cat.py +++ b/samples/client/petstore/python/petstore_api/model/cat.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/cat_all_of.py b/samples/client/petstore/python/petstore_api/model/cat_all_of.py index dadc7147572..ec0267b9920 100644 --- a/samples/client/petstore/python/petstore_api/model/cat_all_of.py +++ b/samples/client/petstore/python/petstore_api/model/cat_all_of.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/category.py b/samples/client/petstore/python/petstore_api/model/category.py index 95d502adf4e..6d2c535a01b 100644 --- a/samples/client/petstore/python/petstore_api/model/category.py +++ b/samples/client/petstore/python/petstore_api/model/category.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/child.py b/samples/client/petstore/python/petstore_api/model/child.py index c2280abb12f..fa5786f4313 100644 --- a/samples/client/petstore/python/petstore_api/model/child.py +++ b/samples/client/petstore/python/petstore_api/model/child.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/child_all_of.py b/samples/client/petstore/python/petstore_api/model/child_all_of.py index 8a3f615d3c2..4c20c6bf7d0 100644 --- a/samples/client/petstore/python/petstore_api/model/child_all_of.py +++ b/samples/client/petstore/python/petstore_api/model/child_all_of.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/child_cat.py b/samples/client/petstore/python/petstore_api/model/child_cat.py index e608bb0fb47..f81aa9be219 100644 --- a/samples/client/petstore/python/petstore_api/model/child_cat.py +++ b/samples/client/petstore/python/petstore_api/model/child_cat.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/child_cat_all_of.py b/samples/client/petstore/python/petstore_api/model/child_cat_all_of.py index d9c453ba4d6..4dd71659c33 100644 --- a/samples/client/petstore/python/petstore_api/model/child_cat_all_of.py +++ b/samples/client/petstore/python/petstore_api/model/child_cat_all_of.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/child_dog.py b/samples/client/petstore/python/petstore_api/model/child_dog.py index e1847bccd35..5498dbdde81 100644 --- a/samples/client/petstore/python/petstore_api/model/child_dog.py +++ b/samples/client/petstore/python/petstore_api/model/child_dog.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/child_dog_all_of.py b/samples/client/petstore/python/petstore_api/model/child_dog_all_of.py index b4e625e874f..c46d5bceea2 100644 --- a/samples/client/petstore/python/petstore_api/model/child_dog_all_of.py +++ b/samples/client/petstore/python/petstore_api/model/child_dog_all_of.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/child_lizard.py b/samples/client/petstore/python/petstore_api/model/child_lizard.py index cfae6eaf04b..cc18799365e 100644 --- a/samples/client/petstore/python/petstore_api/model/child_lizard.py +++ b/samples/client/petstore/python/petstore_api/model/child_lizard.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/child_lizard_all_of.py b/samples/client/petstore/python/petstore_api/model/child_lizard_all_of.py index 3dafa331800..3dcfae6a2b9 100644 --- a/samples/client/petstore/python/petstore_api/model/child_lizard_all_of.py +++ b/samples/client/petstore/python/petstore_api/model/child_lizard_all_of.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/class_model.py b/samples/client/petstore/python/petstore_api/model/class_model.py index a1d4959a985..cc7c422a4ba 100644 --- a/samples/client/petstore/python/petstore_api/model/class_model.py +++ b/samples/client/petstore/python/petstore_api/model/class_model.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/client.py b/samples/client/petstore/python/petstore_api/model/client.py index 114dab427f4..99149547dd6 100644 --- a/samples/client/petstore/python/petstore_api/model/client.py +++ b/samples/client/petstore/python/petstore_api/model/client.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/dog.py b/samples/client/petstore/python/petstore_api/model/dog.py index 00b67ef2ca9..4cbbfba41ec 100644 --- a/samples/client/petstore/python/petstore_api/model/dog.py +++ b/samples/client/petstore/python/petstore_api/model/dog.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/dog_all_of.py b/samples/client/petstore/python/petstore_api/model/dog_all_of.py index c27b3bbc053..3e671f37e72 100644 --- a/samples/client/petstore/python/petstore_api/model/dog_all_of.py +++ b/samples/client/petstore/python/petstore_api/model/dog_all_of.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/enum_arrays.py b/samples/client/petstore/python/petstore_api/model/enum_arrays.py index 4b04cd10401..cc00cdd4756 100644 --- a/samples/client/petstore/python/petstore_api/model/enum_arrays.py +++ b/samples/client/petstore/python/petstore_api/model/enum_arrays.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/enum_class.py b/samples/client/petstore/python/petstore_api/model/enum_class.py index 208019cfe11..8f305f80e50 100644 --- a/samples/client/petstore/python/petstore_api/model/enum_class.py +++ b/samples/client/petstore/python/petstore_api/model/enum_class.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/enum_test.py b/samples/client/petstore/python/petstore_api/model/enum_test.py index 0e4dd0da2ea..8225b1af62f 100644 --- a/samples/client/petstore/python/petstore_api/model/enum_test.py +++ b/samples/client/petstore/python/petstore_api/model/enum_test.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/file.py b/samples/client/petstore/python/petstore_api/model/file.py index 2dc360144d6..207b8559fde 100644 --- a/samples/client/petstore/python/petstore_api/model/file.py +++ b/samples/client/petstore/python/petstore_api/model/file.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/file_schema_test_class.py b/samples/client/petstore/python/petstore_api/model/file_schema_test_class.py index dc1405e1fe9..a35b625ed24 100644 --- a/samples/client/petstore/python/petstore_api/model/file_schema_test_class.py +++ b/samples/client/petstore/python/petstore_api/model/file_schema_test_class.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/format_test.py b/samples/client/petstore/python/petstore_api/model/format_test.py index d338a41ef97..93b1e857e71 100644 --- a/samples/client/petstore/python/petstore_api/model/format_test.py +++ b/samples/client/petstore/python/petstore_api/model/format_test.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/grandparent.py b/samples/client/petstore/python/petstore_api/model/grandparent.py index ca3b8391aeb..90950895286 100644 --- a/samples/client/petstore/python/petstore_api/model/grandparent.py +++ b/samples/client/petstore/python/petstore_api/model/grandparent.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/grandparent_animal.py b/samples/client/petstore/python/petstore_api/model/grandparent_animal.py index 62b2c875bff..f231210bad5 100644 --- a/samples/client/petstore/python/petstore_api/model/grandparent_animal.py +++ b/samples/client/petstore/python/petstore_api/model/grandparent_animal.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/has_only_read_only.py b/samples/client/petstore/python/petstore_api/model/has_only_read_only.py index a89269f087d..d2be9ac5add 100644 --- a/samples/client/petstore/python/petstore_api/model/has_only_read_only.py +++ b/samples/client/petstore/python/petstore_api/model/has_only_read_only.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/list.py b/samples/client/petstore/python/petstore_api/model/list.py index 48a4934b3c3..d04df031cfa 100644 --- a/samples/client/petstore/python/petstore_api/model/list.py +++ b/samples/client/petstore/python/petstore_api/model/list.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/map_test.py b/samples/client/petstore/python/petstore_api/model/map_test.py index b08a5c9d66d..93e19b2f244 100644 --- a/samples/client/petstore/python/petstore_api/model/map_test.py +++ b/samples/client/petstore/python/petstore_api/model/map_test.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/mixed_properties_and_additional_properties_class.py b/samples/client/petstore/python/petstore_api/model/mixed_properties_and_additional_properties_class.py index 58a190e9a22..32067148320 100644 --- a/samples/client/petstore/python/petstore_api/model/mixed_properties_and_additional_properties_class.py +++ b/samples/client/petstore/python/petstore_api/model/mixed_properties_and_additional_properties_class.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/model200_response.py b/samples/client/petstore/python/petstore_api/model/model200_response.py index 0b331cb4292..b379c656855 100644 --- a/samples/client/petstore/python/petstore_api/model/model200_response.py +++ b/samples/client/petstore/python/petstore_api/model/model200_response.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/model_return.py b/samples/client/petstore/python/petstore_api/model/model_return.py index 5905af9cc4f..d0dc8c4f3b0 100644 --- a/samples/client/petstore/python/petstore_api/model/model_return.py +++ b/samples/client/petstore/python/petstore_api/model/model_return.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/name.py b/samples/client/petstore/python/petstore_api/model/name.py index 1627f3381b0..7a5b04393c2 100644 --- a/samples/client/petstore/python/petstore_api/model/name.py +++ b/samples/client/petstore/python/petstore_api/model/name.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/number_only.py b/samples/client/petstore/python/petstore_api/model/number_only.py index 421b4d51a8b..8dcbdcc5da0 100644 --- a/samples/client/petstore/python/petstore_api/model/number_only.py +++ b/samples/client/petstore/python/petstore_api/model/number_only.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/number_with_validations.py b/samples/client/petstore/python/petstore_api/model/number_with_validations.py index 51e7dece4b2..8c0feacf66a 100644 --- a/samples/client/petstore/python/petstore_api/model/number_with_validations.py +++ b/samples/client/petstore/python/petstore_api/model/number_with_validations.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/object_model_with_ref_props.py b/samples/client/petstore/python/petstore_api/model/object_model_with_ref_props.py index 8858e25aa53..3a3ff40d101 100644 --- a/samples/client/petstore/python/petstore_api/model/object_model_with_ref_props.py +++ b/samples/client/petstore/python/petstore_api/model/object_model_with_ref_props.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/order.py b/samples/client/petstore/python/petstore_api/model/order.py index 08ce05074ae..8a809f913f1 100644 --- a/samples/client/petstore/python/petstore_api/model/order.py +++ b/samples/client/petstore/python/petstore_api/model/order.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/parent.py b/samples/client/petstore/python/petstore_api/model/parent.py index 4d0aeb96a9d..cd395403877 100644 --- a/samples/client/petstore/python/petstore_api/model/parent.py +++ b/samples/client/petstore/python/petstore_api/model/parent.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/parent_all_of.py b/samples/client/petstore/python/petstore_api/model/parent_all_of.py index a026b9b9c6d..9632eb27353 100644 --- a/samples/client/petstore/python/petstore_api/model/parent_all_of.py +++ b/samples/client/petstore/python/petstore_api/model/parent_all_of.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/parent_pet.py b/samples/client/petstore/python/petstore_api/model/parent_pet.py index d529f23e442..13fa1cca539 100644 --- a/samples/client/petstore/python/petstore_api/model/parent_pet.py +++ b/samples/client/petstore/python/petstore_api/model/parent_pet.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/pet.py b/samples/client/petstore/python/petstore_api/model/pet.py index 77f5d3bb1ee..0b2fb39cc33 100644 --- a/samples/client/petstore/python/petstore_api/model/pet.py +++ b/samples/client/petstore/python/petstore_api/model/pet.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/player.py b/samples/client/petstore/python/petstore_api/model/player.py index 76caf4dce33..5ab66972781 100644 --- a/samples/client/petstore/python/petstore_api/model/player.py +++ b/samples/client/petstore/python/petstore_api/model/player.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/read_only_first.py b/samples/client/petstore/python/petstore_api/model/read_only_first.py index f9fea19495d..a7d0beb82b2 100644 --- a/samples/client/petstore/python/petstore_api/model/read_only_first.py +++ b/samples/client/petstore/python/petstore_api/model/read_only_first.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/special_model_name.py b/samples/client/petstore/python/petstore_api/model/special_model_name.py index e4df8f8e89d..7082c993672 100644 --- a/samples/client/petstore/python/petstore_api/model/special_model_name.py +++ b/samples/client/petstore/python/petstore_api/model/special_model_name.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/string_boolean_map.py b/samples/client/petstore/python/petstore_api/model/string_boolean_map.py index 0f4bc65afde..b3924d08e92 100644 --- a/samples/client/petstore/python/petstore_api/model/string_boolean_map.py +++ b/samples/client/petstore/python/petstore_api/model/string_boolean_map.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/string_enum.py b/samples/client/petstore/python/petstore_api/model/string_enum.py index 8d8be960145..9858680bf15 100644 --- a/samples/client/petstore/python/petstore_api/model/string_enum.py +++ b/samples/client/petstore/python/petstore_api/model/string_enum.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/tag.py b/samples/client/petstore/python/petstore_api/model/tag.py index dae4bee68a5..96c62d0493a 100644 --- a/samples/client/petstore/python/petstore_api/model/tag.py +++ b/samples/client/petstore/python/petstore_api/model/tag.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/type_holder_default.py b/samples/client/petstore/python/petstore_api/model/type_holder_default.py index a684f532a94..22e42abfc90 100644 --- a/samples/client/petstore/python/petstore_api/model/type_holder_default.py +++ b/samples/client/petstore/python/petstore_api/model/type_holder_default.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/type_holder_example.py b/samples/client/petstore/python/petstore_api/model/type_holder_example.py index d5ac727feb9..086b5575b55 100644 --- a/samples/client/petstore/python/petstore_api/model/type_holder_example.py +++ b/samples/client/petstore/python/petstore_api/model/type_holder_example.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/user.py b/samples/client/petstore/python/petstore_api/model/user.py index b58ede5e5fd..ce21097b128 100644 --- a/samples/client/petstore/python/petstore_api/model/user.py +++ b/samples/client/petstore/python/petstore_api/model/user.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model/xml_item.py b/samples/client/petstore/python/petstore_api/model/xml_item.py index c52a02acfc0..beda11141dd 100644 --- a/samples/client/petstore/python/petstore_api/model/xml_item.py +++ b/samples/client/petstore/python/petstore_api/model/xml_item.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/model_utils.py b/samples/client/petstore/python/petstore_api/model_utils.py index 79d14780d01..ba607acda86 100644 --- a/samples/client/petstore/python/petstore_api/model_utils.py +++ b/samples/client/petstore/python/petstore_api/model_utils.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/petstore_api/models/__init__.py b/samples/client/petstore/python/petstore_api/models/__init__.py index fcd25ce643c..361e2bd9766 100644 --- a/samples/client/petstore/python/petstore_api/models/__init__.py +++ b/samples/client/petstore/python/petstore_api/models/__init__.py @@ -1,5 +1,3 @@ -# coding: utf-8 - # flake8: noqa # import all models into this package diff --git a/samples/client/petstore/python/petstore_api/rest.py b/samples/client/petstore/python/petstore_api/rest.py index b099044e647..cc8e16bbd97 100644 --- a/samples/client/petstore/python/petstore_api/rest.py +++ b/samples/client/petstore/python/petstore_api/rest.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/client/petstore/python/setup.py b/samples/client/petstore/python/setup.py index 56811ec079b..de07a2f386d 100644 --- a/samples/client/petstore/python/setup.py +++ b/samples/client/petstore/python/setup.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore @@ -36,7 +34,7 @@ setup( author_email="team@openapitools.org", url="", keywords=["OpenAPI", "OpenAPI-Generator", "OpenAPI Petstore"], - python_requires=">=3.5", + python_requires=">=3.6", install_requires=REQUIRES, packages=find_packages(exclude=["test", "tests"]), include_package_data=True, diff --git a/samples/client/petstore/python/test-requirements.txt b/samples/client/petstore/python/test-requirements.txt index 2d88b034192..bb4f22bb7a6 100644 --- a/samples/client/petstore/python/test-requirements.txt +++ b/samples/client/petstore/python/test-requirements.txt @@ -1,3 +1 @@ -pytest~=4.6.7 # needed for python 3.4 pytest-cov>=2.8.1 -pytest-randomly==1.2.3 # needed for python 3.4 diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/python/.gitlab-ci.yml b/samples/openapi3/client/extensions/x-auth-id-alias/python/.gitlab-ci.yml index 9b7c7da75e9..f918030fd80 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/python/.gitlab-ci.yml +++ b/samples/openapi3/client/extensions/x-auth-id-alias/python/.gitlab-ci.yml @@ -10,9 +10,6 @@ stages: - pip install -r test-requirements.txt - pytest --cov=x_auth_id_alias -test-3.5: - extends: .tests - image: python:3.5-alpine test-3.6: extends: .tests image: python:3.6-alpine @@ -22,3 +19,6 @@ test-3.7: test-3.8: extends: .tests image: python:3.8-alpine +test-3.9: + extends: .tests + image: python:3.9-alpine diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/python/.travis.yml b/samples/openapi3/client/extensions/x-auth-id-alias/python/.travis.yml index c125a8fb1b1..f798c381c42 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/python/.travis.yml +++ b/samples/openapi3/client/extensions/x-auth-id-alias/python/.travis.yml @@ -1,10 +1,10 @@ # ref: https://docs.travis-ci.com/user/languages/python language: python python: - - "3.5" - "3.6" - "3.7" - "3.8" + - "3.9" # command to install dependencies install: - "pip install -r requirements.txt" diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/python/README.md b/samples/openapi3/client/extensions/x-auth-id-alias/python/README.md index 59be57aa45a..32ee2ef8e48 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/python/README.md +++ b/samples/openapi3/client/extensions/x-auth-id-alias/python/README.md @@ -9,7 +9,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https: ## Requirements. -Python >= 3.5 +Python >= 3.6 ## Installation & Usage ### pip install diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/python/setup.py b/samples/openapi3/client/extensions/x-auth-id-alias/python/setup.py index d06d8678f6b..7b92727f9d5 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/python/setup.py +++ b/samples/openapi3/client/extensions/x-auth-id-alias/python/setup.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Extension x-auth-id-alias @@ -36,7 +34,7 @@ setup( author_email="team@openapitools.org", url="", keywords=["OpenAPI", "OpenAPI-Generator", "OpenAPI Extension x-auth-id-alias"], - python_requires=">=3.5", + python_requires=">=3.6", install_requires=REQUIRES, packages=find_packages(exclude=["test", "tests"]), include_package_data=True, diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/python/test-requirements.txt b/samples/openapi3/client/extensions/x-auth-id-alias/python/test-requirements.txt index 2d88b034192..bb4f22bb7a6 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/python/test-requirements.txt +++ b/samples/openapi3/client/extensions/x-auth-id-alias/python/test-requirements.txt @@ -1,3 +1 @@ -pytest~=4.6.7 # needed for python 3.4 pytest-cov>=2.8.1 -pytest-randomly==1.2.3 # needed for python 3.4 diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/__init__.py b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/__init__.py index e041974817d..844c2259fda 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/__init__.py +++ b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/__init__.py @@ -1,5 +1,3 @@ -# coding: utf-8 - # flake8: noqa """ diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/api/usage_api.py b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/api/usage_api.py index d7f0428a38a..781d7ee3056 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/api/usage_api.py +++ b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/api/usage_api.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Extension x-auth-id-alias diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/api_client.py b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/api_client.py index d3e98a2a55b..698a75ec976 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/api_client.py +++ b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/api_client.py @@ -1,4 +1,3 @@ -# coding: utf-8 """ OpenAPI Extension x-auth-id-alias diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/apis/__init__.py b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/apis/__init__.py index de191957909..8bce252a2ed 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/apis/__init__.py +++ b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/apis/__init__.py @@ -1,4 +1,3 @@ -# coding: utf-8 # flake8: noqa diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/configuration.py b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/configuration.py index 185497e8705..eb6ce359419 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/configuration.py +++ b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/configuration.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Extension x-auth-id-alias diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/exceptions.py b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/exceptions.py index dbab17c17c6..86d7bb4ba35 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/exceptions.py +++ b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/exceptions.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Extension x-auth-id-alias diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/model_utils.py b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/model_utils.py index 850172ee120..7acd69f3ca7 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/model_utils.py +++ b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/model_utils.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Extension x-auth-id-alias diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/models/__init__.py b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/models/__init__.py index 57bbacb357b..a3ebc1dedac 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/models/__init__.py +++ b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/models/__init__.py @@ -1,5 +1,3 @@ -# coding: utf-8 - # flake8: noqa # import all models into this package diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/rest.py b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/rest.py index f756a0e3fa4..ac2efbb7bad 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/rest.py +++ b/samples/openapi3/client/extensions/x-auth-id-alias/python/x_auth_id_alias/rest.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Extension x-auth-id-alias diff --git a/samples/openapi3/client/features/dynamic-servers/python/.gitlab-ci.yml b/samples/openapi3/client/features/dynamic-servers/python/.gitlab-ci.yml index 3d7864a7672..5f3063bdcb0 100644 --- a/samples/openapi3/client/features/dynamic-servers/python/.gitlab-ci.yml +++ b/samples/openapi3/client/features/dynamic-servers/python/.gitlab-ci.yml @@ -10,9 +10,6 @@ stages: - pip install -r test-requirements.txt - pytest --cov=dynamic_servers -test-3.5: - extends: .tests - image: python:3.5-alpine test-3.6: extends: .tests image: python:3.6-alpine @@ -22,3 +19,6 @@ test-3.7: test-3.8: extends: .tests image: python:3.8-alpine +test-3.9: + extends: .tests + image: python:3.9-alpine diff --git a/samples/openapi3/client/features/dynamic-servers/python/.travis.yml b/samples/openapi3/client/features/dynamic-servers/python/.travis.yml index 2ed01c99738..33011d57a8f 100644 --- a/samples/openapi3/client/features/dynamic-servers/python/.travis.yml +++ b/samples/openapi3/client/features/dynamic-servers/python/.travis.yml @@ -1,10 +1,10 @@ # ref: https://docs.travis-ci.com/user/languages/python language: python python: - - "3.5" - "3.6" - "3.7" - "3.8" + - "3.9" # command to install dependencies install: - "pip install -r requirements.txt" diff --git a/samples/openapi3/client/features/dynamic-servers/python/README.md b/samples/openapi3/client/features/dynamic-servers/python/README.md index cdc065ee8a2..318fc75414b 100644 --- a/samples/openapi3/client/features/dynamic-servers/python/README.md +++ b/samples/openapi3/client/features/dynamic-servers/python/README.md @@ -9,7 +9,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https: ## Requirements. -Python >= 3.5 +Python >= 3.6 ## Installation & Usage ### pip install diff --git a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/__init__.py b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/__init__.py index 64364080b71..f12625bd4e5 100644 --- a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/__init__.py +++ b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/__init__.py @@ -1,5 +1,3 @@ -# coding: utf-8 - # flake8: noqa """ diff --git a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/api/usage_api.py b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/api/usage_api.py index 6415fe505d2..7374d921e42 100644 --- a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/api/usage_api.py +++ b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/api/usage_api.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Extension with dynamic servers diff --git a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/api_client.py b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/api_client.py index 4277fa448dd..736510bd34d 100644 --- a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/api_client.py +++ b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/api_client.py @@ -1,4 +1,3 @@ -# coding: utf-8 """ OpenAPI Extension with dynamic servers diff --git a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/apis/__init__.py b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/apis/__init__.py index 6bd9b9a956a..09e1121e370 100644 --- a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/apis/__init__.py +++ b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/apis/__init__.py @@ -1,4 +1,3 @@ -# coding: utf-8 # flake8: noqa diff --git a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/configuration.py b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/configuration.py index 0e6b420ab0f..dbc45b7f89a 100644 --- a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/configuration.py +++ b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/configuration.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Extension with dynamic servers diff --git a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/exceptions.py b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/exceptions.py index 51eb4cc396b..a4c8f5d2073 100644 --- a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/exceptions.py +++ b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/exceptions.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Extension with dynamic servers diff --git a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/model_utils.py b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/model_utils.py index 8660af004f7..48a70aeb472 100644 --- a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/model_utils.py +++ b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/model_utils.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Extension with dynamic servers diff --git a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/models/__init__.py b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/models/__init__.py index 0cb2976e7c1..7929e828583 100644 --- a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/models/__init__.py +++ b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/models/__init__.py @@ -1,5 +1,3 @@ -# coding: utf-8 - # flake8: noqa # import all models into this package diff --git a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/rest.py b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/rest.py index 57bd6c1ea72..c788e35d57b 100644 --- a/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/rest.py +++ b/samples/openapi3/client/features/dynamic-servers/python/dynamic_servers/rest.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Extension with dynamic servers diff --git a/samples/openapi3/client/features/dynamic-servers/python/setup.py b/samples/openapi3/client/features/dynamic-servers/python/setup.py index aea4b7b422e..3467660359a 100644 --- a/samples/openapi3/client/features/dynamic-servers/python/setup.py +++ b/samples/openapi3/client/features/dynamic-servers/python/setup.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Extension with dynamic servers @@ -36,7 +34,7 @@ setup( author_email="team@openapitools.org", url="", keywords=["OpenAPI", "OpenAPI-Generator", "OpenAPI Extension with dynamic servers"], - python_requires=">=3.5", + python_requires=">=3.6", install_requires=REQUIRES, packages=find_packages(exclude=["test", "tests"]), include_package_data=True, diff --git a/samples/openapi3/client/features/dynamic-servers/python/test-requirements.txt b/samples/openapi3/client/features/dynamic-servers/python/test-requirements.txt index 2d88b034192..bb4f22bb7a6 100644 --- a/samples/openapi3/client/features/dynamic-servers/python/test-requirements.txt +++ b/samples/openapi3/client/features/dynamic-servers/python/test-requirements.txt @@ -1,3 +1 @@ -pytest~=4.6.7 # needed for python 3.4 pytest-cov>=2.8.1 -pytest-randomly==1.2.3 # needed for python 3.4 diff --git a/samples/openapi3/client/petstore/python/.gitlab-ci.yml b/samples/openapi3/client/petstore/python/.gitlab-ci.yml index 611e425676e..9e84f517616 100644 --- a/samples/openapi3/client/petstore/python/.gitlab-ci.yml +++ b/samples/openapi3/client/petstore/python/.gitlab-ci.yml @@ -10,9 +10,6 @@ stages: - pip install -r test-requirements.txt - pytest --cov=petstore_api -test-3.5: - extends: .tests - image: python:3.5-alpine test-3.6: extends: .tests image: python:3.6-alpine @@ -22,3 +19,6 @@ test-3.7: test-3.8: extends: .tests image: python:3.8-alpine +test-3.9: + extends: .tests + image: python:3.9-alpine diff --git a/samples/openapi3/client/petstore/python/.travis.yml b/samples/openapi3/client/petstore/python/.travis.yml index f931f0f74b9..1fcc4b15596 100644 --- a/samples/openapi3/client/petstore/python/.travis.yml +++ b/samples/openapi3/client/petstore/python/.travis.yml @@ -1,10 +1,10 @@ # ref: https://docs.travis-ci.com/user/languages/python language: python python: - - "3.5" - "3.6" - "3.7" - "3.8" + - "3.9" # command to install dependencies install: - "pip install -r requirements.txt" diff --git a/samples/openapi3/client/petstore/python/README.md b/samples/openapi3/client/petstore/python/README.md index f2155266d23..2b83a263210 100644 --- a/samples/openapi3/client/petstore/python/README.md +++ b/samples/openapi3/client/petstore/python/README.md @@ -9,7 +9,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https: ## Requirements. -Python >= 3.5 +Python >= 3.6 ## Installation & Usage ### pip install diff --git a/samples/openapi3/client/petstore/python/petstore_api/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/__init__.py index 1605d7d67c0..e79f5c78b22 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/__init__.py @@ -1,5 +1,3 @@ -# coding: utf-8 - # flake8: noqa """ diff --git a/samples/openapi3/client/petstore/python/petstore_api/api/another_fake_api.py b/samples/openapi3/client/petstore/python/petstore_api/api/another_fake_api.py index af80014fe0c..a4ed30e32a2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/api/another_fake_api.py +++ b/samples/openapi3/client/petstore/python/petstore_api/api/another_fake_api.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/api/default_api.py b/samples/openapi3/client/petstore/python/petstore_api/api/default_api.py index c64ea731eba..a7c791e75db 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/api/default_api.py +++ b/samples/openapi3/client/petstore/python/petstore_api/api/default_api.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/api/fake_api.py b/samples/openapi3/client/petstore/python/petstore_api/api/fake_api.py index 7654e5916de..4ce055c011b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/api/fake_api.py +++ b/samples/openapi3/client/petstore/python/petstore_api/api/fake_api.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/api/fake_classname_tags_123_api.py b/samples/openapi3/client/petstore/python/petstore_api/api/fake_classname_tags_123_api.py index 40f8039b3cb..2812a640b44 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/api/fake_classname_tags_123_api.py +++ b/samples/openapi3/client/petstore/python/petstore_api/api/fake_classname_tags_123_api.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/api/pet_api.py b/samples/openapi3/client/petstore/python/petstore_api/api/pet_api.py index 3a20006d392..04f23451298 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/api/pet_api.py +++ b/samples/openapi3/client/petstore/python/petstore_api/api/pet_api.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/api/store_api.py b/samples/openapi3/client/petstore/python/petstore_api/api/store_api.py index 5aa2d27623a..a178960dff9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/api/store_api.py +++ b/samples/openapi3/client/petstore/python/petstore_api/api/store_api.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/api/user_api.py b/samples/openapi3/client/petstore/python/petstore_api/api/user_api.py index ee0468ec928..0cc9d46c9b5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/api/user_api.py +++ b/samples/openapi3/client/petstore/python/petstore_api/api/user_api.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/api_client.py b/samples/openapi3/client/petstore/python/petstore_api/api_client.py index 73d7c9adeeb..022d808ce68 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/api_client.py +++ b/samples/openapi3/client/petstore/python/petstore_api/api_client.py @@ -1,4 +1,3 @@ -# coding: utf-8 """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/apis/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/apis/__init__.py index 5a98862bba0..24c40abbed0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/apis/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/apis/__init__.py @@ -1,4 +1,3 @@ -# coding: utf-8 # flake8: noqa diff --git a/samples/openapi3/client/petstore/python/petstore_api/configuration.py b/samples/openapi3/client/petstore/python/petstore_api/configuration.py index ca58bb0fc10..cd29feff9ea 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/configuration.py +++ b/samples/openapi3/client/petstore/python/petstore_api/configuration.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/exceptions.py b/samples/openapi3/client/petstore/python/petstore_api/exceptions.py index 32affc2df46..51527f60611 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/exceptions.py +++ b/samples/openapi3/client/petstore/python/petstore_api/exceptions.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/additional_properties_class.py b/samples/openapi3/client/petstore/python/petstore_api/model/additional_properties_class.py index 7c3910ca119..311761f21f9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/additional_properties_class.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/additional_properties_with_array_of_enums.py b/samples/openapi3/client/petstore/python/petstore_api/model/additional_properties_with_array_of_enums.py index b48dee9bd04..b91f53f0596 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/additional_properties_with_array_of_enums.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/additional_properties_with_array_of_enums.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/address.py b/samples/openapi3/client/petstore/python/petstore_api/model/address.py index b8d829ccae3..c57beecd75d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/address.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/address.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/animal.py b/samples/openapi3/client/petstore/python/petstore_api/model/animal.py index a155d8c4266..9767120a13e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/animal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/animal.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/animal_farm.py b/samples/openapi3/client/petstore/python/petstore_api/model/animal_farm.py index bf7bbf04c38..97f342cef81 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/animal_farm.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/animal_farm.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/api_response.py b/samples/openapi3/client/petstore/python/petstore_api/model/api_response.py index bce1291d1f6..77747427405 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/api_response.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/api_response.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/apple.py b/samples/openapi3/client/petstore/python/petstore_api/model/apple.py index dffec26c89f..90994daa61c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/apple.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/apple.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/apple_req.py b/samples/openapi3/client/petstore/python/petstore_api/model/apple_req.py index 99beef5e914..d3c7c184548 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/apple_req.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/apple_req.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/array_of_array_of_number_only.py b/samples/openapi3/client/petstore/python/petstore_api/model/array_of_array_of_number_only.py index 7c7c2743398..f4d7c4b8901 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/array_of_array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/array_of_array_of_number_only.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/array_of_enums.py b/samples/openapi3/client/petstore/python/petstore_api/model/array_of_enums.py index afcea8b9303..08445851d38 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/array_of_enums.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/array_of_enums.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/array_of_number_only.py b/samples/openapi3/client/petstore/python/petstore_api/model/array_of_number_only.py index 4947154bb6e..de65fb7e497 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/array_of_number_only.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/array_test.py b/samples/openapi3/client/petstore/python/petstore_api/model/array_test.py index 7b4d47ace89..b56cf1f70a8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/array_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/array_test.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/banana.py b/samples/openapi3/client/petstore/python/petstore_api/model/banana.py index ffbcdbd27fa..07280239a3b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/banana.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/banana.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/banana_req.py b/samples/openapi3/client/petstore/python/petstore_api/model/banana_req.py index c6949869845..48b64b58195 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/banana_req.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/banana_req.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/basque_pig.py b/samples/openapi3/client/petstore/python/petstore_api/model/basque_pig.py index 68532b82acc..06f975d784c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/basque_pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/basque_pig.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/capitalization.py b/samples/openapi3/client/petstore/python/petstore_api/model/capitalization.py index 3e0068ed683..420c5273069 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/capitalization.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/capitalization.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/cat.py b/samples/openapi3/client/petstore/python/petstore_api/model/cat.py index 2ebbd9a6e01..23263a605b0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/cat.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/cat.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/cat_all_of.py b/samples/openapi3/client/petstore/python/petstore_api/model/cat_all_of.py index dadc7147572..ec0267b9920 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/cat_all_of.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/cat_all_of.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/category.py b/samples/openapi3/client/petstore/python/petstore_api/model/category.py index 95d502adf4e..6d2c535a01b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/category.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/category.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/child_cat.py b/samples/openapi3/client/petstore/python/petstore_api/model/child_cat.py index dfeab37c441..63fa33c24c6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/child_cat.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/child_cat.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/child_cat_all_of.py b/samples/openapi3/client/petstore/python/petstore_api/model/child_cat_all_of.py index d9c453ba4d6..4dd71659c33 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/child_cat_all_of.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/child_cat_all_of.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/class_model.py b/samples/openapi3/client/petstore/python/petstore_api/model/class_model.py index a1d4959a985..cc7c422a4ba 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/class_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/class_model.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/client.py b/samples/openapi3/client/petstore/python/petstore_api/model/client.py index 114dab427f4..99149547dd6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/client.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/client.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/complex_quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/model/complex_quadrilateral.py index b1826e361b0..606bc14209e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/complex_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/complex_quadrilateral.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/composed_one_of_number_with_validations.py b/samples/openapi3/client/petstore/python/petstore_api/model/composed_one_of_number_with_validations.py index 0923008ec19..12db5350b51 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/composed_one_of_number_with_validations.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/composed_one_of_number_with_validations.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/danish_pig.py b/samples/openapi3/client/petstore/python/petstore_api/model/danish_pig.py index ab547146c57..396fd0abd08 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/danish_pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/danish_pig.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/dog.py b/samples/openapi3/client/petstore/python/petstore_api/model/dog.py index e68764d3bae..871ffeda033 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/dog.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/dog.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/dog_all_of.py b/samples/openapi3/client/petstore/python/petstore_api/model/dog_all_of.py index c27b3bbc053..3e671f37e72 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/dog_all_of.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/dog_all_of.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/drawing.py b/samples/openapi3/client/petstore/python/petstore_api/model/drawing.py index 21b5ef5054b..6ce9b41ddc6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/drawing.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/drawing.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/enum_arrays.py b/samples/openapi3/client/petstore/python/petstore_api/model/enum_arrays.py index 4b04cd10401..cc00cdd4756 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/enum_arrays.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/enum_arrays.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/enum_class.py b/samples/openapi3/client/petstore/python/petstore_api/model/enum_class.py index 208019cfe11..8f305f80e50 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/enum_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/enum_class.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/enum_test.py b/samples/openapi3/client/petstore/python/petstore_api/model/enum_test.py index 633a0b5ecd2..efe4955e573 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/enum_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/enum_test.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/equilateral_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/model/equilateral_triangle.py index 214e84d760d..77e4b899ffe 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/equilateral_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/equilateral_triangle.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/file.py b/samples/openapi3/client/petstore/python/petstore_api/model/file.py index 2dc360144d6..207b8559fde 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/file.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/file.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/file_schema_test_class.py b/samples/openapi3/client/petstore/python/petstore_api/model/file_schema_test_class.py index dc1405e1fe9..a35b625ed24 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/file_schema_test_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/file_schema_test_class.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/foo.py b/samples/openapi3/client/petstore/python/petstore_api/model/foo.py index 97bf13554f8..ca8fc892960 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/foo.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/foo.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/format_test.py b/samples/openapi3/client/petstore/python/petstore_api/model/format_test.py index 509863d73c2..852e6f5ff50 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/format_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/format_test.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/fruit.py b/samples/openapi3/client/petstore/python/petstore_api/model/fruit.py index 4da9bf18dc2..092f06d4d28 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/fruit.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/fruit.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/fruit_req.py b/samples/openapi3/client/petstore/python/petstore_api/model/fruit_req.py index 83d0b29e850..52bffc6136a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/fruit_req.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/fruit_req.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/gm_fruit.py b/samples/openapi3/client/petstore/python/petstore_api/model/gm_fruit.py index 51a6ab77f10..560b6e2e466 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/gm_fruit.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/gm_fruit.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/grandparent_animal.py b/samples/openapi3/client/petstore/python/petstore_api/model/grandparent_animal.py index 631e6c636aa..06a57e645f1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/grandparent_animal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/grandparent_animal.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/has_only_read_only.py b/samples/openapi3/client/petstore/python/petstore_api/model/has_only_read_only.py index a89269f087d..d2be9ac5add 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/has_only_read_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/has_only_read_only.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/health_check_result.py b/samples/openapi3/client/petstore/python/petstore_api/model/health_check_result.py index a664172b8db..aa52c84a8f7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/health_check_result.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/health_check_result.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/inline_object.py b/samples/openapi3/client/petstore/python/petstore_api/model/inline_object.py index 0e409d5ca3f..f33ab975c17 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/inline_object.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/inline_object.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/inline_object1.py b/samples/openapi3/client/petstore/python/petstore_api/model/inline_object1.py index 3969643b7c0..f3bb22fef0c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/inline_object1.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/inline_object1.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/inline_object2.py b/samples/openapi3/client/petstore/python/petstore_api/model/inline_object2.py index 03e534e5d51..e0393862414 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/inline_object2.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/inline_object2.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/inline_object3.py b/samples/openapi3/client/petstore/python/petstore_api/model/inline_object3.py index b6d93037c33..743e3c41d86 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/inline_object3.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/inline_object3.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/inline_object4.py b/samples/openapi3/client/petstore/python/petstore_api/model/inline_object4.py index b7e0f469efd..9a1f88d6b60 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/inline_object4.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/inline_object4.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/inline_object5.py b/samples/openapi3/client/petstore/python/petstore_api/model/inline_object5.py index 041699c0da6..33ce7f69ac7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/inline_object5.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/inline_object5.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/inline_response_default.py b/samples/openapi3/client/petstore/python/petstore_api/model/inline_response_default.py index 3535bcb83e7..dc5f3e8ede5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/inline_response_default.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/inline_response_default.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/integer_enum.py b/samples/openapi3/client/petstore/python/petstore_api/model/integer_enum.py index 43abd8e0286..d1ef6e1cc13 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/integer_enum.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/integer_enum.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/integer_enum_one_value.py b/samples/openapi3/client/petstore/python/petstore_api/model/integer_enum_one_value.py index 9df9dd15a5f..2f39a2edd95 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/integer_enum_one_value.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/integer_enum_one_value.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/integer_enum_with_default_value.py b/samples/openapi3/client/petstore/python/petstore_api/model/integer_enum_with_default_value.py index 3c325e39970..7799dbb308a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/integer_enum_with_default_value.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/integer_enum_with_default_value.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/isosceles_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/model/isosceles_triangle.py index 2e3108154fd..d99c4d992ad 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/isosceles_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/isosceles_triangle.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/list.py b/samples/openapi3/client/petstore/python/petstore_api/model/list.py index 48a4934b3c3..d04df031cfa 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/list.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/list.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/mammal.py b/samples/openapi3/client/petstore/python/petstore_api/model/mammal.py index 965b2387f66..c52aeb08c52 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/mammal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/mammal.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/map_test.py b/samples/openapi3/client/petstore/python/petstore_api/model/map_test.py index b08a5c9d66d..93e19b2f244 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/map_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/map_test.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/mixed_properties_and_additional_properties_class.py b/samples/openapi3/client/petstore/python/petstore_api/model/mixed_properties_and_additional_properties_class.py index 58a190e9a22..32067148320 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/mixed_properties_and_additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/mixed_properties_and_additional_properties_class.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/model200_response.py b/samples/openapi3/client/petstore/python/petstore_api/model/model200_response.py index 0b331cb4292..b379c656855 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/model200_response.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/model200_response.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/model_return.py b/samples/openapi3/client/petstore/python/petstore_api/model/model_return.py index 5905af9cc4f..d0dc8c4f3b0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/model_return.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/model_return.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/name.py b/samples/openapi3/client/petstore/python/petstore_api/model/name.py index 1627f3381b0..7a5b04393c2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/name.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/name.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/nullable_class.py b/samples/openapi3/client/petstore/python/petstore_api/model/nullable_class.py index a8bc03b4d53..3088bde07ac 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/nullable_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/nullable_class.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/nullable_shape.py b/samples/openapi3/client/petstore/python/petstore_api/model/nullable_shape.py index 83a1cb5bad2..b5faceb6cf4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/nullable_shape.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/nullable_shape.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/number_only.py b/samples/openapi3/client/petstore/python/petstore_api/model/number_only.py index 421b4d51a8b..8dcbdcc5da0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/number_only.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/number_with_validations.py b/samples/openapi3/client/petstore/python/petstore_api/model/number_with_validations.py index feef9f4317a..1c472771d82 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/number_with_validations.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/number_with_validations.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/object_interface.py b/samples/openapi3/client/petstore/python/petstore_api/model/object_interface.py index 231111afca7..0fb822bcecd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/object_interface.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/object_interface.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/object_model_with_ref_props.py b/samples/openapi3/client/petstore/python/petstore_api/model/object_model_with_ref_props.py index 8858e25aa53..3a3ff40d101 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/object_model_with_ref_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/object_model_with_ref_props.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/object_with_validations.py b/samples/openapi3/client/petstore/python/petstore_api/model/object_with_validations.py index 2e598dda1fe..cab724bf638 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/object_with_validations.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/object_with_validations.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/order.py b/samples/openapi3/client/petstore/python/petstore_api/model/order.py index 08ce05074ae..8a809f913f1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/order.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/order.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/parent_pet.py b/samples/openapi3/client/petstore/python/petstore_api/model/parent_pet.py index b7102569a14..8f2eb897af8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/parent_pet.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/parent_pet.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/pet.py b/samples/openapi3/client/petstore/python/petstore_api/model/pet.py index 77f5d3bb1ee..0b2fb39cc33 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/pet.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/pet.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/pig.py b/samples/openapi3/client/petstore/python/petstore_api/model/pig.py index e9e2fef97c2..805e7028120 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/pig.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/model/quadrilateral.py index 4dac65fa113..855e913d944 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/quadrilateral.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/quadrilateral_interface.py b/samples/openapi3/client/petstore/python/petstore_api/model/quadrilateral_interface.py index 72274eb9c2c..609bb010406 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/quadrilateral_interface.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/quadrilateral_interface.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/read_only_first.py b/samples/openapi3/client/petstore/python/petstore_api/model/read_only_first.py index f9fea19495d..a7d0beb82b2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/read_only_first.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/read_only_first.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/scalene_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/model/scalene_triangle.py index c3c5f0c5020..51efcef286f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/scalene_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/scalene_triangle.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/shape.py b/samples/openapi3/client/petstore/python/petstore_api/model/shape.py index 6168869f2c5..7ced690319f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/shape.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/shape.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/shape_interface.py b/samples/openapi3/client/petstore/python/petstore_api/model/shape_interface.py index 07c271fe2e6..19bb1ffc560 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/shape_interface.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/shape_interface.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/shape_or_null.py b/samples/openapi3/client/petstore/python/petstore_api/model/shape_or_null.py index 613055b9feb..734de65c8ff 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/shape_or_null.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/shape_or_null.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/simple_quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/model/simple_quadrilateral.py index de8c1cf2116..008e9a826ad 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/simple_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/simple_quadrilateral.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/some_object.py b/samples/openapi3/client/petstore/python/petstore_api/model/some_object.py index 061769a75a7..c8cefaa4115 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/some_object.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/some_object.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/special_model_name.py b/samples/openapi3/client/petstore/python/petstore_api/model/special_model_name.py index e4df8f8e89d..7082c993672 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/special_model_name.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/special_model_name.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/string_boolean_map.py b/samples/openapi3/client/petstore/python/petstore_api/model/string_boolean_map.py index 0f4bc65afde..b3924d08e92 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/string_boolean_map.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/string_boolean_map.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/string_enum.py b/samples/openapi3/client/petstore/python/petstore_api/model/string_enum.py index 2dee202bd3f..03c272795eb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/string_enum.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/string_enum.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/string_enum_with_default_value.py b/samples/openapi3/client/petstore/python/petstore_api/model/string_enum_with_default_value.py index f25d079379d..43eca3418d8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/string_enum_with_default_value.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/string_enum_with_default_value.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/tag.py b/samples/openapi3/client/petstore/python/petstore_api/model/tag.py index d1f0c9aa6d9..b202799b2b8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/tag.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/tag.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/triangle.py b/samples/openapi3/client/petstore/python/petstore_api/model/triangle.py index 2b83c4c0881..39b4ac9695a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/triangle.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/triangle_interface.py b/samples/openapi3/client/petstore/python/petstore_api/model/triangle_interface.py index d7454cfad8e..9ae22c8c9cc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/triangle_interface.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/triangle_interface.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/user.py b/samples/openapi3/client/petstore/python/petstore_api/model/user.py index 5f26153652d..6ca71385f01 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/user.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/user.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/whale.py b/samples/openapi3/client/petstore/python/petstore_api/model/whale.py index 6efac18c4f7..a55b04e489f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/whale.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/whale.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model/zebra.py b/samples/openapi3/client/petstore/python/petstore_api/model/zebra.py index 6abcf271313..f9f1bfc3c7c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model/zebra.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model/zebra.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/model_utils.py b/samples/openapi3/client/petstore/python/petstore_api/model_utils.py index 79d14780d01..ba607acda86 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/model_utils.py +++ b/samples/openapi3/client/petstore/python/petstore_api/model_utils.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/models/__init__.py index 248531dac14..32f0804f578 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/__init__.py @@ -1,5 +1,3 @@ -# coding: utf-8 - # flake8: noqa # import all models into this package diff --git a/samples/openapi3/client/petstore/python/petstore_api/rest.py b/samples/openapi3/client/petstore/python/petstore_api/rest.py index b099044e647..cc8e16bbd97 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/rest.py +++ b/samples/openapi3/client/petstore/python/petstore_api/rest.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/petstore_api/signing.py b/samples/openapi3/client/petstore/python/petstore_api/signing.py index 85fd1506a76..5a5c4be6197 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/signing.py +++ b/samples/openapi3/client/petstore/python/petstore_api/signing.py @@ -1,4 +1,3 @@ -# coding: utf-8 """ OpenAPI Petstore diff --git a/samples/openapi3/client/petstore/python/setup.py b/samples/openapi3/client/petstore/python/setup.py index 71641535bf5..726f3860ec2 100644 --- a/samples/openapi3/client/petstore/python/setup.py +++ b/samples/openapi3/client/petstore/python/setup.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ OpenAPI Petstore @@ -38,7 +36,7 @@ setup( author_email="team@openapitools.org", url="", keywords=["OpenAPI", "OpenAPI-Generator", "OpenAPI Petstore"], - python_requires=">=3.5", + python_requires=">=3.6", install_requires=REQUIRES, packages=find_packages(exclude=["test", "tests"]), include_package_data=True, diff --git a/samples/openapi3/client/petstore/python/test-requirements.txt b/samples/openapi3/client/petstore/python/test-requirements.txt index 36d9b4fa7a8..4b3736d983e 100644 --- a/samples/openapi3/client/petstore/python/test-requirements.txt +++ b/samples/openapi3/client/petstore/python/test-requirements.txt @@ -1,4 +1,2 @@ -pytest~=4.6.7 # needed for python 3.4 pytest-cov>=2.8.1 -pytest-randomly==1.2.3 # needed for python 3.4 pycryptodome>=3.9.0