diff --git a/modules/openapi-generator/src/main/resources/python-legacy/model.mustache b/modules/openapi-generator/src/main/resources/python-legacy/model.mustache index 857a3e48fb4..5b4048915eb 100644 --- a/modules/openapi-generator/src/main/resources/python-legacy/model.mustache +++ b/modules/openapi-generator/src/main/resources/python-legacy/model.mustache @@ -61,7 +61,7 @@ class {{classname}}(object): def __init__(self{{#vars}}, {{name}}={{#defaultValue}}{{{defaultValue}}}{{/defaultValue}}{{^defaultValue}}None{{/defaultValue}}{{/vars}}, local_vars_configuration=None): # noqa: E501 """{{classname}} - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration {{#vars}}{{#-first}} {{/-first}} 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 9b9a04fefd9..8d6395a4c2e 100644 --- a/modules/openapi-generator/src/main/resources/python/api_client.mustache +++ b/modules/openapi-generator/src/main/resources/python/api_client.mustache @@ -61,7 +61,7 @@ class ApiClient(object): def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=1): if configuration is None: - configuration = Configuration() + configuration = Configuration.get_default_copy() self.configuration = configuration self.pool_threads = pool_threads diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_any_type.py b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_any_type.py index 40b02a566ec..30e6e9b8176 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_any_type.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_any_type.py @@ -43,7 +43,7 @@ class AdditionalPropertiesAnyType(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesAnyType - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_array.py b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_array.py index f9ddbf1c276..2f939711e0a 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_array.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_array.py @@ -43,7 +43,7 @@ class AdditionalPropertiesArray(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesArray - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_boolean.py b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_boolean.py index e6a6c3f0e4d..32b58c24ffa 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_boolean.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_boolean.py @@ -43,7 +43,7 @@ class AdditionalPropertiesBoolean(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesBoolean - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_class.py b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_class.py index 8922177d7d2..dff68969974 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_class.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_class.py @@ -63,7 +63,7 @@ class AdditionalPropertiesClass(object): def __init__(self, map_string=None, map_number=None, map_integer=None, map_boolean=None, map_array_integer=None, map_array_anytype=None, map_map_string=None, map_map_anytype=None, anytype_1=None, anytype_2=None, anytype_3=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._map_string = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_integer.py b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_integer.py index fadfa5254cf..bba82b9c8cf 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_integer.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_integer.py @@ -43,7 +43,7 @@ class AdditionalPropertiesInteger(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesInteger - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_number.py b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_number.py index e7b8c7f0fc2..9adeedb7e79 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_number.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_number.py @@ -43,7 +43,7 @@ class AdditionalPropertiesNumber(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesNumber - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_object.py b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_object.py index 30767cc42e3..85f94ac205d 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_object.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_object.py @@ -43,7 +43,7 @@ class AdditionalPropertiesObject(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesObject - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_string.py b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_string.py index adf7d2832ea..ee8d6383348 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_string.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_string.py @@ -43,7 +43,7 @@ class AdditionalPropertiesString(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesString - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/animal.py b/samples/client/petstore/python-asyncio/petstore_api/models/animal.py index 50046ca8381..a791a5173ba 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/animal.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/animal.py @@ -51,7 +51,7 @@ class Animal(object): def __init__(self, class_name=None, color='red', local_vars_configuration=None): # noqa: E501 """Animal - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._class_name = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/api_response.py b/samples/client/petstore/python-asyncio/petstore_api/models/api_response.py index 134c858e676..ab5e7999dd2 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/api_response.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/api_response.py @@ -47,7 +47,7 @@ class ApiResponse(object): def __init__(self, code=None, type=None, message=None, local_vars_configuration=None): # noqa: E501 """ApiResponse - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._code = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/array_of_array_of_number_only.py b/samples/client/petstore/python-asyncio/petstore_api/models/array_of_array_of_number_only.py index a79118e4d77..c9b65c7e531 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/array_of_array_of_number_only.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/array_of_array_of_number_only.py @@ -43,7 +43,7 @@ class ArrayOfArrayOfNumberOnly(object): def __init__(self, array_array_number=None, local_vars_configuration=None): # noqa: E501 """ArrayOfArrayOfNumberOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._array_array_number = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/array_of_number_only.py b/samples/client/petstore/python-asyncio/petstore_api/models/array_of_number_only.py index a419a32417b..870286e0fc0 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/array_of_number_only.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/array_of_number_only.py @@ -43,7 +43,7 @@ class ArrayOfNumberOnly(object): def __init__(self, array_number=None, local_vars_configuration=None): # noqa: E501 """ArrayOfNumberOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._array_number = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/array_test.py b/samples/client/petstore/python-asyncio/petstore_api/models/array_test.py index 5a4414efadb..04d2cb6ec60 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/array_test.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/array_test.py @@ -47,7 +47,7 @@ class ArrayTest(object): def __init__(self, array_of_string=None, array_array_of_integer=None, array_array_of_model=None, local_vars_configuration=None): # noqa: E501 """ArrayTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._array_of_string = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/big_cat.py b/samples/client/petstore/python-asyncio/petstore_api/models/big_cat.py index d1a911f23e1..7136aa86720 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/big_cat.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/big_cat.py @@ -43,7 +43,7 @@ class BigCat(object): def __init__(self, kind=None, local_vars_configuration=None): # noqa: E501 """BigCat - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._kind = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/big_cat_all_of.py b/samples/client/petstore/python-asyncio/petstore_api/models/big_cat_all_of.py index 559875dfc30..127e7c6da31 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/big_cat_all_of.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/big_cat_all_of.py @@ -43,7 +43,7 @@ class BigCatAllOf(object): def __init__(self, kind=None, local_vars_configuration=None): # noqa: E501 """BigCatAllOf - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._kind = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/capitalization.py b/samples/client/petstore/python-asyncio/petstore_api/models/capitalization.py index cc6c7e89f0b..064dc2eb2ff 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/capitalization.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/capitalization.py @@ -53,7 +53,7 @@ class Capitalization(object): def __init__(self, small_camel=None, capital_camel=None, small_snake=None, capital_snake=None, sca_eth_flow_points=None, att_name=None, local_vars_configuration=None): # noqa: E501 """Capitalization - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._small_camel = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/cat.py b/samples/client/petstore/python-asyncio/petstore_api/models/cat.py index 3220455c58e..3b6e6aa4c2e 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/cat.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/cat.py @@ -43,7 +43,7 @@ class Cat(object): def __init__(self, declawed=None, local_vars_configuration=None): # noqa: E501 """Cat - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._declawed = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/cat_all_of.py b/samples/client/petstore/python-asyncio/petstore_api/models/cat_all_of.py index d14ed559778..7755fd65b0c 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/cat_all_of.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/cat_all_of.py @@ -43,7 +43,7 @@ class CatAllOf(object): def __init__(self, declawed=None, local_vars_configuration=None): # noqa: E501 """CatAllOf - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._declawed = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/category.py b/samples/client/petstore/python-asyncio/petstore_api/models/category.py index b54a371eb1a..c3dd5a4b9a1 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/category.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/category.py @@ -45,7 +45,7 @@ class Category(object): def __init__(self, id=None, name='default-name', local_vars_configuration=None): # noqa: E501 """Category - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/class_model.py b/samples/client/petstore/python-asyncio/petstore_api/models/class_model.py index 626e59e5d9a..cd9439763d2 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/class_model.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/class_model.py @@ -43,7 +43,7 @@ class ClassModel(object): def __init__(self, _class=None, local_vars_configuration=None): # noqa: E501 """ClassModel - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.__class = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/client.py b/samples/client/petstore/python-asyncio/petstore_api/models/client.py index 39f21dc29c6..f896b35240c 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/client.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/client.py @@ -43,7 +43,7 @@ class Client(object): def __init__(self, client=None, local_vars_configuration=None): # noqa: E501 """Client - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._client = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/dog.py b/samples/client/petstore/python-asyncio/petstore_api/models/dog.py index 681f6d400d0..39514284d5f 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/dog.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/dog.py @@ -43,7 +43,7 @@ class Dog(object): def __init__(self, breed=None, local_vars_configuration=None): # noqa: E501 """Dog - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._breed = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/dog_all_of.py b/samples/client/petstore/python-asyncio/petstore_api/models/dog_all_of.py index fce64943baf..207103a4874 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/dog_all_of.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/dog_all_of.py @@ -43,7 +43,7 @@ class DogAllOf(object): def __init__(self, breed=None, local_vars_configuration=None): # noqa: E501 """DogAllOf - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._breed = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/enum_arrays.py b/samples/client/petstore/python-asyncio/petstore_api/models/enum_arrays.py index fb189081236..b87cd37456e 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/enum_arrays.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/enum_arrays.py @@ -45,7 +45,7 @@ class EnumArrays(object): def __init__(self, just_symbol=None, array_enum=None, local_vars_configuration=None): # noqa: E501 """EnumArrays - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._just_symbol = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/enum_class.py b/samples/client/petstore/python-asyncio/petstore_api/models/enum_class.py index cc70e35f515..4b11877863a 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/enum_class.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/enum_class.py @@ -50,7 +50,7 @@ class EnumClass(object): def __init__(self, local_vars_configuration=None): # noqa: E501 """EnumClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.discriminator = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/enum_test.py b/samples/client/petstore/python-asyncio/petstore_api/models/enum_test.py index 947ced155e9..d1778410dee 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/enum_test.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/enum_test.py @@ -51,7 +51,7 @@ class EnumTest(object): def __init__(self, enum_string=None, enum_string_required=None, enum_integer=None, enum_number=None, outer_enum=None, local_vars_configuration=None): # noqa: E501 """EnumTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._enum_string = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/file.py b/samples/client/petstore/python-asyncio/petstore_api/models/file.py index 425e49e9801..e40cd04b014 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/file.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/file.py @@ -43,7 +43,7 @@ class File(object): def __init__(self, source_uri=None, local_vars_configuration=None): # noqa: E501 """File - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._source_uri = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/file_schema_test_class.py b/samples/client/petstore/python-asyncio/petstore_api/models/file_schema_test_class.py index 630d73985c2..d266755d260 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/file_schema_test_class.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/file_schema_test_class.py @@ -45,7 +45,7 @@ class FileSchemaTestClass(object): def __init__(self, file=None, files=None, local_vars_configuration=None): # noqa: E501 """FileSchemaTestClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._file = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/format_test.py b/samples/client/petstore/python-asyncio/petstore_api/models/format_test.py index 903a8c66491..c193f9313e9 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/format_test.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/format_test.py @@ -69,7 +69,7 @@ class FormatTest(object): def __init__(self, integer=None, int32=None, int64=None, number=None, float=None, double=None, string=None, byte=None, binary=None, date=None, date_time=None, uuid=None, password=None, big_decimal=None, local_vars_configuration=None): # noqa: E501 """FormatTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._integer = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/has_only_read_only.py b/samples/client/petstore/python-asyncio/petstore_api/models/has_only_read_only.py index 38334f7d849..dac8cfaff93 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/has_only_read_only.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/has_only_read_only.py @@ -45,7 +45,7 @@ class HasOnlyReadOnly(object): def __init__(self, bar=None, foo=None, local_vars_configuration=None): # noqa: E501 """HasOnlyReadOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._bar = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/list.py b/samples/client/petstore/python-asyncio/petstore_api/models/list.py index 84c0460c5ea..b4425722474 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/list.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/list.py @@ -43,7 +43,7 @@ class List(object): def __init__(self, _123_list=None, local_vars_configuration=None): # noqa: E501 """List - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.__123_list = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/map_test.py b/samples/client/petstore/python-asyncio/petstore_api/models/map_test.py index 4b1eab50c3c..406f35db750 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/map_test.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/map_test.py @@ -49,7 +49,7 @@ class MapTest(object): def __init__(self, map_map_of_string=None, map_of_enum_string=None, direct_map=None, indirect_map=None, local_vars_configuration=None): # noqa: E501 """MapTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._map_map_of_string = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/mixed_properties_and_additional_properties_class.py b/samples/client/petstore/python-asyncio/petstore_api/models/mixed_properties_and_additional_properties_class.py index 9800db2bf49..14428a6536a 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/mixed_properties_and_additional_properties_class.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/mixed_properties_and_additional_properties_class.py @@ -47,7 +47,7 @@ class MixedPropertiesAndAdditionalPropertiesClass(object): def __init__(self, uuid=None, date_time=None, map=None, local_vars_configuration=None): # noqa: E501 """MixedPropertiesAndAdditionalPropertiesClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._uuid = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/model200_response.py b/samples/client/petstore/python-asyncio/petstore_api/models/model200_response.py index 002c6e24b7a..5c90147467b 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/model200_response.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/model200_response.py @@ -45,7 +45,7 @@ class Model200Response(object): def __init__(self, name=None, _class=None, local_vars_configuration=None): # noqa: E501 """Model200Response - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/model_return.py b/samples/client/petstore/python-asyncio/petstore_api/models/model_return.py index c32a439f93e..88174ef2308 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/model_return.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/model_return.py @@ -43,7 +43,7 @@ class ModelReturn(object): def __init__(self, _return=None, local_vars_configuration=None): # noqa: E501 """ModelReturn - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.__return = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/name.py b/samples/client/petstore/python-asyncio/petstore_api/models/name.py index 234281e3547..528988ebd43 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/name.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/name.py @@ -49,7 +49,7 @@ class Name(object): def __init__(self, name=None, snake_case=None, _property=None, _123_number=None, local_vars_configuration=None): # noqa: E501 """Name - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/number_only.py b/samples/client/petstore/python-asyncio/petstore_api/models/number_only.py index 9686f10c23f..ebbcc8996d0 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/number_only.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/number_only.py @@ -43,7 +43,7 @@ class NumberOnly(object): def __init__(self, just_number=None, local_vars_configuration=None): # noqa: E501 """NumberOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._just_number = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/order.py b/samples/client/petstore/python-asyncio/petstore_api/models/order.py index 67893f9d6b6..6513d48a3a5 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/order.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/order.py @@ -53,7 +53,7 @@ class Order(object): def __init__(self, id=None, pet_id=None, quantity=None, ship_date=None, status=None, complete=False, local_vars_configuration=None): # noqa: E501 """Order - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/outer_composite.py b/samples/client/petstore/python-asyncio/petstore_api/models/outer_composite.py index 2cfe197d59d..44124e13c09 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/outer_composite.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/outer_composite.py @@ -47,7 +47,7 @@ class OuterComposite(object): def __init__(self, my_number=None, my_string=None, my_boolean=None, local_vars_configuration=None): # noqa: E501 """OuterComposite - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._my_number = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/outer_enum.py b/samples/client/petstore/python-asyncio/petstore_api/models/outer_enum.py index dee8ff19d41..77624ba1540 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/outer_enum.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/outer_enum.py @@ -50,7 +50,7 @@ class OuterEnum(object): def __init__(self, local_vars_configuration=None): # noqa: E501 """OuterEnum - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.discriminator = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/pet.py b/samples/client/petstore/python-asyncio/petstore_api/models/pet.py index 4884907339a..e71589429ca 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/pet.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/pet.py @@ -53,7 +53,7 @@ class Pet(object): def __init__(self, id=None, category=None, name=None, photo_urls=None, tags=None, status=None, local_vars_configuration=None): # noqa: E501 """Pet - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/read_only_first.py b/samples/client/petstore/python-asyncio/petstore_api/models/read_only_first.py index 20e7e86256c..3a320fe64f0 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/read_only_first.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/read_only_first.py @@ -45,7 +45,7 @@ class ReadOnlyFirst(object): def __init__(self, bar=None, baz=None, local_vars_configuration=None): # noqa: E501 """ReadOnlyFirst - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._bar = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/special_model_name.py b/samples/client/petstore/python-asyncio/petstore_api/models/special_model_name.py index 2c004306f2d..7669a508789 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/special_model_name.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/special_model_name.py @@ -43,7 +43,7 @@ class SpecialModelName(object): def __init__(self, special_property_name=None, local_vars_configuration=None): # noqa: E501 """SpecialModelName - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._special_property_name = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/tag.py b/samples/client/petstore/python-asyncio/petstore_api/models/tag.py index 672ef00e16a..dbac885ad8e 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/tag.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/tag.py @@ -45,7 +45,7 @@ class Tag(object): def __init__(self, id=None, name=None, local_vars_configuration=None): # noqa: E501 """Tag - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/type_holder_default.py b/samples/client/petstore/python-asyncio/petstore_api/models/type_holder_default.py index 10a7ecdaddf..c890f553192 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/type_holder_default.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/type_holder_default.py @@ -51,7 +51,7 @@ class TypeHolderDefault(object): def __init__(self, string_item='what', number_item=None, integer_item=None, bool_item=True, array_item=None, local_vars_configuration=None): # noqa: E501 """TypeHolderDefault - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._string_item = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/type_holder_example.py b/samples/client/petstore/python-asyncio/petstore_api/models/type_holder_example.py index ef94362590f..d52425d442e 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/type_holder_example.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/type_holder_example.py @@ -53,7 +53,7 @@ class TypeHolderExample(object): def __init__(self, string_item=None, number_item=None, float_item=None, integer_item=None, bool_item=None, array_item=None, local_vars_configuration=None): # noqa: E501 """TypeHolderExample - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._string_item = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/user.py b/samples/client/petstore/python-asyncio/petstore_api/models/user.py index ba578cded7d..b70d84a6b40 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/user.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/user.py @@ -57,7 +57,7 @@ class User(object): def __init__(self, id=None, username=None, first_name=None, last_name=None, email=None, password=None, phone=None, user_status=None, local_vars_configuration=None): # noqa: E501 """User - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/xml_item.py b/samples/client/petstore/python-asyncio/petstore_api/models/xml_item.py index d286bca8e9f..d63ab77acfd 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/xml_item.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/xml_item.py @@ -99,7 +99,7 @@ class XmlItem(object): def __init__(self, attribute_string=None, attribute_number=None, attribute_integer=None, attribute_boolean=None, wrapped_array=None, name_string=None, name_number=None, name_integer=None, name_boolean=None, name_array=None, name_wrapped_array=None, prefix_string=None, prefix_number=None, prefix_integer=None, prefix_boolean=None, prefix_array=None, prefix_wrapped_array=None, namespace_string=None, namespace_number=None, namespace_integer=None, namespace_boolean=None, namespace_array=None, namespace_wrapped_array=None, prefix_ns_string=None, prefix_ns_number=None, prefix_ns_integer=None, prefix_ns_boolean=None, prefix_ns_array=None, prefix_ns_wrapped_array=None, local_vars_configuration=None): # noqa: E501 """XmlItem - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._attribute_string = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_any_type.py b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_any_type.py index 40b02a566ec..30e6e9b8176 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_any_type.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_any_type.py @@ -43,7 +43,7 @@ class AdditionalPropertiesAnyType(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesAnyType - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_array.py b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_array.py index f9ddbf1c276..2f939711e0a 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_array.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_array.py @@ -43,7 +43,7 @@ class AdditionalPropertiesArray(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesArray - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_boolean.py b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_boolean.py index e6a6c3f0e4d..32b58c24ffa 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_boolean.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_boolean.py @@ -43,7 +43,7 @@ class AdditionalPropertiesBoolean(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesBoolean - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_class.py b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_class.py index 8922177d7d2..dff68969974 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_class.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_class.py @@ -63,7 +63,7 @@ class AdditionalPropertiesClass(object): def __init__(self, map_string=None, map_number=None, map_integer=None, map_boolean=None, map_array_integer=None, map_array_anytype=None, map_map_string=None, map_map_anytype=None, anytype_1=None, anytype_2=None, anytype_3=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._map_string = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_integer.py b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_integer.py index fadfa5254cf..bba82b9c8cf 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_integer.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_integer.py @@ -43,7 +43,7 @@ class AdditionalPropertiesInteger(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesInteger - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_number.py b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_number.py index e7b8c7f0fc2..9adeedb7e79 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_number.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_number.py @@ -43,7 +43,7 @@ class AdditionalPropertiesNumber(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesNumber - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_object.py b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_object.py index 30767cc42e3..85f94ac205d 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_object.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_object.py @@ -43,7 +43,7 @@ class AdditionalPropertiesObject(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesObject - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_string.py b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_string.py index adf7d2832ea..ee8d6383348 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_string.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/additional_properties_string.py @@ -43,7 +43,7 @@ class AdditionalPropertiesString(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesString - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/animal.py b/samples/client/petstore/python-legacy/petstore_api/models/animal.py index 50046ca8381..a791a5173ba 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/animal.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/animal.py @@ -51,7 +51,7 @@ class Animal(object): def __init__(self, class_name=None, color='red', local_vars_configuration=None): # noqa: E501 """Animal - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._class_name = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/api_response.py b/samples/client/petstore/python-legacy/petstore_api/models/api_response.py index 134c858e676..ab5e7999dd2 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/api_response.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/api_response.py @@ -47,7 +47,7 @@ class ApiResponse(object): def __init__(self, code=None, type=None, message=None, local_vars_configuration=None): # noqa: E501 """ApiResponse - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._code = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/array_of_array_of_number_only.py b/samples/client/petstore/python-legacy/petstore_api/models/array_of_array_of_number_only.py index a79118e4d77..c9b65c7e531 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/array_of_array_of_number_only.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/array_of_array_of_number_only.py @@ -43,7 +43,7 @@ class ArrayOfArrayOfNumberOnly(object): def __init__(self, array_array_number=None, local_vars_configuration=None): # noqa: E501 """ArrayOfArrayOfNumberOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._array_array_number = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/array_of_number_only.py b/samples/client/petstore/python-legacy/petstore_api/models/array_of_number_only.py index a419a32417b..870286e0fc0 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/array_of_number_only.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/array_of_number_only.py @@ -43,7 +43,7 @@ class ArrayOfNumberOnly(object): def __init__(self, array_number=None, local_vars_configuration=None): # noqa: E501 """ArrayOfNumberOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._array_number = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/array_test.py b/samples/client/petstore/python-legacy/petstore_api/models/array_test.py index 5a4414efadb..04d2cb6ec60 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/array_test.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/array_test.py @@ -47,7 +47,7 @@ class ArrayTest(object): def __init__(self, array_of_string=None, array_array_of_integer=None, array_array_of_model=None, local_vars_configuration=None): # noqa: E501 """ArrayTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._array_of_string = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/big_cat.py b/samples/client/petstore/python-legacy/petstore_api/models/big_cat.py index d1a911f23e1..7136aa86720 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/big_cat.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/big_cat.py @@ -43,7 +43,7 @@ class BigCat(object): def __init__(self, kind=None, local_vars_configuration=None): # noqa: E501 """BigCat - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._kind = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/big_cat_all_of.py b/samples/client/petstore/python-legacy/petstore_api/models/big_cat_all_of.py index 559875dfc30..127e7c6da31 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/big_cat_all_of.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/big_cat_all_of.py @@ -43,7 +43,7 @@ class BigCatAllOf(object): def __init__(self, kind=None, local_vars_configuration=None): # noqa: E501 """BigCatAllOf - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._kind = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/capitalization.py b/samples/client/petstore/python-legacy/petstore_api/models/capitalization.py index cc6c7e89f0b..064dc2eb2ff 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/capitalization.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/capitalization.py @@ -53,7 +53,7 @@ class Capitalization(object): def __init__(self, small_camel=None, capital_camel=None, small_snake=None, capital_snake=None, sca_eth_flow_points=None, att_name=None, local_vars_configuration=None): # noqa: E501 """Capitalization - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._small_camel = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/cat.py b/samples/client/petstore/python-legacy/petstore_api/models/cat.py index 3220455c58e..3b6e6aa4c2e 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/cat.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/cat.py @@ -43,7 +43,7 @@ class Cat(object): def __init__(self, declawed=None, local_vars_configuration=None): # noqa: E501 """Cat - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._declawed = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/cat_all_of.py b/samples/client/petstore/python-legacy/petstore_api/models/cat_all_of.py index d14ed559778..7755fd65b0c 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/cat_all_of.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/cat_all_of.py @@ -43,7 +43,7 @@ class CatAllOf(object): def __init__(self, declawed=None, local_vars_configuration=None): # noqa: E501 """CatAllOf - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._declawed = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/category.py b/samples/client/petstore/python-legacy/petstore_api/models/category.py index b54a371eb1a..c3dd5a4b9a1 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/category.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/category.py @@ -45,7 +45,7 @@ class Category(object): def __init__(self, id=None, name='default-name', local_vars_configuration=None): # noqa: E501 """Category - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/class_model.py b/samples/client/petstore/python-legacy/petstore_api/models/class_model.py index 626e59e5d9a..cd9439763d2 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/class_model.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/class_model.py @@ -43,7 +43,7 @@ class ClassModel(object): def __init__(self, _class=None, local_vars_configuration=None): # noqa: E501 """ClassModel - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.__class = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/client.py b/samples/client/petstore/python-legacy/petstore_api/models/client.py index 39f21dc29c6..f896b35240c 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/client.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/client.py @@ -43,7 +43,7 @@ class Client(object): def __init__(self, client=None, local_vars_configuration=None): # noqa: E501 """Client - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._client = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/dog.py b/samples/client/petstore/python-legacy/petstore_api/models/dog.py index 681f6d400d0..39514284d5f 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/dog.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/dog.py @@ -43,7 +43,7 @@ class Dog(object): def __init__(self, breed=None, local_vars_configuration=None): # noqa: E501 """Dog - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._breed = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/dog_all_of.py b/samples/client/petstore/python-legacy/petstore_api/models/dog_all_of.py index fce64943baf..207103a4874 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/dog_all_of.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/dog_all_of.py @@ -43,7 +43,7 @@ class DogAllOf(object): def __init__(self, breed=None, local_vars_configuration=None): # noqa: E501 """DogAllOf - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._breed = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/enum_arrays.py b/samples/client/petstore/python-legacy/petstore_api/models/enum_arrays.py index fb189081236..b87cd37456e 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/enum_arrays.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/enum_arrays.py @@ -45,7 +45,7 @@ class EnumArrays(object): def __init__(self, just_symbol=None, array_enum=None, local_vars_configuration=None): # noqa: E501 """EnumArrays - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._just_symbol = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/enum_class.py b/samples/client/petstore/python-legacy/petstore_api/models/enum_class.py index cc70e35f515..4b11877863a 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/enum_class.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/enum_class.py @@ -50,7 +50,7 @@ class EnumClass(object): def __init__(self, local_vars_configuration=None): # noqa: E501 """EnumClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.discriminator = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/enum_test.py b/samples/client/petstore/python-legacy/petstore_api/models/enum_test.py index 947ced155e9..d1778410dee 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/enum_test.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/enum_test.py @@ -51,7 +51,7 @@ class EnumTest(object): def __init__(self, enum_string=None, enum_string_required=None, enum_integer=None, enum_number=None, outer_enum=None, local_vars_configuration=None): # noqa: E501 """EnumTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._enum_string = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/file.py b/samples/client/petstore/python-legacy/petstore_api/models/file.py index 425e49e9801..e40cd04b014 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/file.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/file.py @@ -43,7 +43,7 @@ class File(object): def __init__(self, source_uri=None, local_vars_configuration=None): # noqa: E501 """File - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._source_uri = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/file_schema_test_class.py b/samples/client/petstore/python-legacy/petstore_api/models/file_schema_test_class.py index 630d73985c2..d266755d260 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/file_schema_test_class.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/file_schema_test_class.py @@ -45,7 +45,7 @@ class FileSchemaTestClass(object): def __init__(self, file=None, files=None, local_vars_configuration=None): # noqa: E501 """FileSchemaTestClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._file = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/format_test.py b/samples/client/petstore/python-legacy/petstore_api/models/format_test.py index 903a8c66491..c193f9313e9 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/format_test.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/format_test.py @@ -69,7 +69,7 @@ class FormatTest(object): def __init__(self, integer=None, int32=None, int64=None, number=None, float=None, double=None, string=None, byte=None, binary=None, date=None, date_time=None, uuid=None, password=None, big_decimal=None, local_vars_configuration=None): # noqa: E501 """FormatTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._integer = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/has_only_read_only.py b/samples/client/petstore/python-legacy/petstore_api/models/has_only_read_only.py index 38334f7d849..dac8cfaff93 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/has_only_read_only.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/has_only_read_only.py @@ -45,7 +45,7 @@ class HasOnlyReadOnly(object): def __init__(self, bar=None, foo=None, local_vars_configuration=None): # noqa: E501 """HasOnlyReadOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._bar = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/list.py b/samples/client/petstore/python-legacy/petstore_api/models/list.py index 84c0460c5ea..b4425722474 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/list.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/list.py @@ -43,7 +43,7 @@ class List(object): def __init__(self, _123_list=None, local_vars_configuration=None): # noqa: E501 """List - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.__123_list = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/map_test.py b/samples/client/petstore/python-legacy/petstore_api/models/map_test.py index 4b1eab50c3c..406f35db750 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/map_test.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/map_test.py @@ -49,7 +49,7 @@ class MapTest(object): def __init__(self, map_map_of_string=None, map_of_enum_string=None, direct_map=None, indirect_map=None, local_vars_configuration=None): # noqa: E501 """MapTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._map_map_of_string = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/mixed_properties_and_additional_properties_class.py b/samples/client/petstore/python-legacy/petstore_api/models/mixed_properties_and_additional_properties_class.py index 9800db2bf49..14428a6536a 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/mixed_properties_and_additional_properties_class.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/mixed_properties_and_additional_properties_class.py @@ -47,7 +47,7 @@ class MixedPropertiesAndAdditionalPropertiesClass(object): def __init__(self, uuid=None, date_time=None, map=None, local_vars_configuration=None): # noqa: E501 """MixedPropertiesAndAdditionalPropertiesClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._uuid = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/model200_response.py b/samples/client/petstore/python-legacy/petstore_api/models/model200_response.py index 002c6e24b7a..5c90147467b 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/model200_response.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/model200_response.py @@ -45,7 +45,7 @@ class Model200Response(object): def __init__(self, name=None, _class=None, local_vars_configuration=None): # noqa: E501 """Model200Response - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/model_return.py b/samples/client/petstore/python-legacy/petstore_api/models/model_return.py index c32a439f93e..88174ef2308 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/model_return.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/model_return.py @@ -43,7 +43,7 @@ class ModelReturn(object): def __init__(self, _return=None, local_vars_configuration=None): # noqa: E501 """ModelReturn - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.__return = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/name.py b/samples/client/petstore/python-legacy/petstore_api/models/name.py index 234281e3547..528988ebd43 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/name.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/name.py @@ -49,7 +49,7 @@ class Name(object): def __init__(self, name=None, snake_case=None, _property=None, _123_number=None, local_vars_configuration=None): # noqa: E501 """Name - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/number_only.py b/samples/client/petstore/python-legacy/petstore_api/models/number_only.py index 9686f10c23f..ebbcc8996d0 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/number_only.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/number_only.py @@ -43,7 +43,7 @@ class NumberOnly(object): def __init__(self, just_number=None, local_vars_configuration=None): # noqa: E501 """NumberOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._just_number = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/order.py b/samples/client/petstore/python-legacy/petstore_api/models/order.py index 67893f9d6b6..6513d48a3a5 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/order.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/order.py @@ -53,7 +53,7 @@ class Order(object): def __init__(self, id=None, pet_id=None, quantity=None, ship_date=None, status=None, complete=False, local_vars_configuration=None): # noqa: E501 """Order - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/outer_composite.py b/samples/client/petstore/python-legacy/petstore_api/models/outer_composite.py index 2cfe197d59d..44124e13c09 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/outer_composite.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/outer_composite.py @@ -47,7 +47,7 @@ class OuterComposite(object): def __init__(self, my_number=None, my_string=None, my_boolean=None, local_vars_configuration=None): # noqa: E501 """OuterComposite - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._my_number = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/outer_enum.py b/samples/client/petstore/python-legacy/petstore_api/models/outer_enum.py index dee8ff19d41..77624ba1540 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/outer_enum.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/outer_enum.py @@ -50,7 +50,7 @@ class OuterEnum(object): def __init__(self, local_vars_configuration=None): # noqa: E501 """OuterEnum - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.discriminator = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/pet.py b/samples/client/petstore/python-legacy/petstore_api/models/pet.py index 4884907339a..e71589429ca 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/pet.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/pet.py @@ -53,7 +53,7 @@ class Pet(object): def __init__(self, id=None, category=None, name=None, photo_urls=None, tags=None, status=None, local_vars_configuration=None): # noqa: E501 """Pet - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/read_only_first.py b/samples/client/petstore/python-legacy/petstore_api/models/read_only_first.py index 20e7e86256c..3a320fe64f0 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/read_only_first.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/read_only_first.py @@ -45,7 +45,7 @@ class ReadOnlyFirst(object): def __init__(self, bar=None, baz=None, local_vars_configuration=None): # noqa: E501 """ReadOnlyFirst - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._bar = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/special_model_name.py b/samples/client/petstore/python-legacy/petstore_api/models/special_model_name.py index 2c004306f2d..7669a508789 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/special_model_name.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/special_model_name.py @@ -43,7 +43,7 @@ class SpecialModelName(object): def __init__(self, special_property_name=None, local_vars_configuration=None): # noqa: E501 """SpecialModelName - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._special_property_name = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/tag.py b/samples/client/petstore/python-legacy/petstore_api/models/tag.py index 672ef00e16a..dbac885ad8e 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/tag.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/tag.py @@ -45,7 +45,7 @@ class Tag(object): def __init__(self, id=None, name=None, local_vars_configuration=None): # noqa: E501 """Tag - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/type_holder_default.py b/samples/client/petstore/python-legacy/petstore_api/models/type_holder_default.py index 10a7ecdaddf..c890f553192 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/type_holder_default.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/type_holder_default.py @@ -51,7 +51,7 @@ class TypeHolderDefault(object): def __init__(self, string_item='what', number_item=None, integer_item=None, bool_item=True, array_item=None, local_vars_configuration=None): # noqa: E501 """TypeHolderDefault - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._string_item = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/type_holder_example.py b/samples/client/petstore/python-legacy/petstore_api/models/type_holder_example.py index ef94362590f..d52425d442e 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/type_holder_example.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/type_holder_example.py @@ -53,7 +53,7 @@ class TypeHolderExample(object): def __init__(self, string_item=None, number_item=None, float_item=None, integer_item=None, bool_item=None, array_item=None, local_vars_configuration=None): # noqa: E501 """TypeHolderExample - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._string_item = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/user.py b/samples/client/petstore/python-legacy/petstore_api/models/user.py index ba578cded7d..b70d84a6b40 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/user.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/user.py @@ -57,7 +57,7 @@ class User(object): def __init__(self, id=None, username=None, first_name=None, last_name=None, email=None, password=None, phone=None, user_status=None, local_vars_configuration=None): # noqa: E501 """User - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/client/petstore/python-legacy/petstore_api/models/xml_item.py b/samples/client/petstore/python-legacy/petstore_api/models/xml_item.py index d286bca8e9f..d63ab77acfd 100644 --- a/samples/client/petstore/python-legacy/petstore_api/models/xml_item.py +++ b/samples/client/petstore/python-legacy/petstore_api/models/xml_item.py @@ -99,7 +99,7 @@ class XmlItem(object): def __init__(self, attribute_string=None, attribute_number=None, attribute_integer=None, attribute_boolean=None, wrapped_array=None, name_string=None, name_number=None, name_integer=None, name_boolean=None, name_array=None, name_wrapped_array=None, prefix_string=None, prefix_number=None, prefix_integer=None, prefix_boolean=None, prefix_array=None, prefix_wrapped_array=None, namespace_string=None, namespace_number=None, namespace_integer=None, namespace_boolean=None, namespace_array=None, namespace_wrapped_array=None, prefix_ns_string=None, prefix_ns_number=None, prefix_ns_integer=None, prefix_ns_boolean=None, prefix_ns_array=None, prefix_ns_wrapped_array=None, local_vars_configuration=None): # noqa: E501 """XmlItem - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._attribute_string = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_any_type.py b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_any_type.py index 40b02a566ec..30e6e9b8176 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_any_type.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_any_type.py @@ -43,7 +43,7 @@ class AdditionalPropertiesAnyType(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesAnyType - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_array.py b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_array.py index f9ddbf1c276..2f939711e0a 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_array.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_array.py @@ -43,7 +43,7 @@ class AdditionalPropertiesArray(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesArray - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_boolean.py b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_boolean.py index e6a6c3f0e4d..32b58c24ffa 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_boolean.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_boolean.py @@ -43,7 +43,7 @@ class AdditionalPropertiesBoolean(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesBoolean - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_class.py b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_class.py index 8922177d7d2..dff68969974 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_class.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_class.py @@ -63,7 +63,7 @@ class AdditionalPropertiesClass(object): def __init__(self, map_string=None, map_number=None, map_integer=None, map_boolean=None, map_array_integer=None, map_array_anytype=None, map_map_string=None, map_map_anytype=None, anytype_1=None, anytype_2=None, anytype_3=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._map_string = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_integer.py b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_integer.py index fadfa5254cf..bba82b9c8cf 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_integer.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_integer.py @@ -43,7 +43,7 @@ class AdditionalPropertiesInteger(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesInteger - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_number.py b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_number.py index e7b8c7f0fc2..9adeedb7e79 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_number.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_number.py @@ -43,7 +43,7 @@ class AdditionalPropertiesNumber(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesNumber - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_object.py b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_object.py index 30767cc42e3..85f94ac205d 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_object.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_object.py @@ -43,7 +43,7 @@ class AdditionalPropertiesObject(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesObject - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_string.py b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_string.py index adf7d2832ea..ee8d6383348 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_string.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_string.py @@ -43,7 +43,7 @@ class AdditionalPropertiesString(object): def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesString - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/animal.py b/samples/client/petstore/python-tornado/petstore_api/models/animal.py index 50046ca8381..a791a5173ba 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/animal.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/animal.py @@ -51,7 +51,7 @@ class Animal(object): def __init__(self, class_name=None, color='red', local_vars_configuration=None): # noqa: E501 """Animal - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._class_name = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/api_response.py b/samples/client/petstore/python-tornado/petstore_api/models/api_response.py index 134c858e676..ab5e7999dd2 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/api_response.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/api_response.py @@ -47,7 +47,7 @@ class ApiResponse(object): def __init__(self, code=None, type=None, message=None, local_vars_configuration=None): # noqa: E501 """ApiResponse - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._code = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/array_of_array_of_number_only.py b/samples/client/petstore/python-tornado/petstore_api/models/array_of_array_of_number_only.py index a79118e4d77..c9b65c7e531 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/array_of_array_of_number_only.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/array_of_array_of_number_only.py @@ -43,7 +43,7 @@ class ArrayOfArrayOfNumberOnly(object): def __init__(self, array_array_number=None, local_vars_configuration=None): # noqa: E501 """ArrayOfArrayOfNumberOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._array_array_number = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/array_of_number_only.py b/samples/client/petstore/python-tornado/petstore_api/models/array_of_number_only.py index a419a32417b..870286e0fc0 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/array_of_number_only.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/array_of_number_only.py @@ -43,7 +43,7 @@ class ArrayOfNumberOnly(object): def __init__(self, array_number=None, local_vars_configuration=None): # noqa: E501 """ArrayOfNumberOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._array_number = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/array_test.py b/samples/client/petstore/python-tornado/petstore_api/models/array_test.py index 5a4414efadb..04d2cb6ec60 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/array_test.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/array_test.py @@ -47,7 +47,7 @@ class ArrayTest(object): def __init__(self, array_of_string=None, array_array_of_integer=None, array_array_of_model=None, local_vars_configuration=None): # noqa: E501 """ArrayTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._array_of_string = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/big_cat.py b/samples/client/petstore/python-tornado/petstore_api/models/big_cat.py index d1a911f23e1..7136aa86720 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/big_cat.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/big_cat.py @@ -43,7 +43,7 @@ class BigCat(object): def __init__(self, kind=None, local_vars_configuration=None): # noqa: E501 """BigCat - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._kind = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/big_cat_all_of.py b/samples/client/petstore/python-tornado/petstore_api/models/big_cat_all_of.py index 559875dfc30..127e7c6da31 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/big_cat_all_of.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/big_cat_all_of.py @@ -43,7 +43,7 @@ class BigCatAllOf(object): def __init__(self, kind=None, local_vars_configuration=None): # noqa: E501 """BigCatAllOf - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._kind = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/capitalization.py b/samples/client/petstore/python-tornado/petstore_api/models/capitalization.py index cc6c7e89f0b..064dc2eb2ff 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/capitalization.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/capitalization.py @@ -53,7 +53,7 @@ class Capitalization(object): def __init__(self, small_camel=None, capital_camel=None, small_snake=None, capital_snake=None, sca_eth_flow_points=None, att_name=None, local_vars_configuration=None): # noqa: E501 """Capitalization - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._small_camel = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/cat.py b/samples/client/petstore/python-tornado/petstore_api/models/cat.py index 3220455c58e..3b6e6aa4c2e 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/cat.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/cat.py @@ -43,7 +43,7 @@ class Cat(object): def __init__(self, declawed=None, local_vars_configuration=None): # noqa: E501 """Cat - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._declawed = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/cat_all_of.py b/samples/client/petstore/python-tornado/petstore_api/models/cat_all_of.py index d14ed559778..7755fd65b0c 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/cat_all_of.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/cat_all_of.py @@ -43,7 +43,7 @@ class CatAllOf(object): def __init__(self, declawed=None, local_vars_configuration=None): # noqa: E501 """CatAllOf - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._declawed = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/category.py b/samples/client/petstore/python-tornado/petstore_api/models/category.py index b54a371eb1a..c3dd5a4b9a1 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/category.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/category.py @@ -45,7 +45,7 @@ class Category(object): def __init__(self, id=None, name='default-name', local_vars_configuration=None): # noqa: E501 """Category - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/class_model.py b/samples/client/petstore/python-tornado/petstore_api/models/class_model.py index 626e59e5d9a..cd9439763d2 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/class_model.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/class_model.py @@ -43,7 +43,7 @@ class ClassModel(object): def __init__(self, _class=None, local_vars_configuration=None): # noqa: E501 """ClassModel - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.__class = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/client.py b/samples/client/petstore/python-tornado/petstore_api/models/client.py index 39f21dc29c6..f896b35240c 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/client.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/client.py @@ -43,7 +43,7 @@ class Client(object): def __init__(self, client=None, local_vars_configuration=None): # noqa: E501 """Client - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._client = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/dog.py b/samples/client/petstore/python-tornado/petstore_api/models/dog.py index 681f6d400d0..39514284d5f 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/dog.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/dog.py @@ -43,7 +43,7 @@ class Dog(object): def __init__(self, breed=None, local_vars_configuration=None): # noqa: E501 """Dog - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._breed = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/dog_all_of.py b/samples/client/petstore/python-tornado/petstore_api/models/dog_all_of.py index fce64943baf..207103a4874 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/dog_all_of.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/dog_all_of.py @@ -43,7 +43,7 @@ class DogAllOf(object): def __init__(self, breed=None, local_vars_configuration=None): # noqa: E501 """DogAllOf - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._breed = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/enum_arrays.py b/samples/client/petstore/python-tornado/petstore_api/models/enum_arrays.py index fb189081236..b87cd37456e 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/enum_arrays.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/enum_arrays.py @@ -45,7 +45,7 @@ class EnumArrays(object): def __init__(self, just_symbol=None, array_enum=None, local_vars_configuration=None): # noqa: E501 """EnumArrays - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._just_symbol = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/enum_class.py b/samples/client/petstore/python-tornado/petstore_api/models/enum_class.py index cc70e35f515..4b11877863a 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/enum_class.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/enum_class.py @@ -50,7 +50,7 @@ class EnumClass(object): def __init__(self, local_vars_configuration=None): # noqa: E501 """EnumClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.discriminator = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/enum_test.py b/samples/client/petstore/python-tornado/petstore_api/models/enum_test.py index 947ced155e9..d1778410dee 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/enum_test.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/enum_test.py @@ -51,7 +51,7 @@ class EnumTest(object): def __init__(self, enum_string=None, enum_string_required=None, enum_integer=None, enum_number=None, outer_enum=None, local_vars_configuration=None): # noqa: E501 """EnumTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._enum_string = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/file.py b/samples/client/petstore/python-tornado/petstore_api/models/file.py index 425e49e9801..e40cd04b014 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/file.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/file.py @@ -43,7 +43,7 @@ class File(object): def __init__(self, source_uri=None, local_vars_configuration=None): # noqa: E501 """File - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._source_uri = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/file_schema_test_class.py b/samples/client/petstore/python-tornado/petstore_api/models/file_schema_test_class.py index 630d73985c2..d266755d260 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/file_schema_test_class.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/file_schema_test_class.py @@ -45,7 +45,7 @@ class FileSchemaTestClass(object): def __init__(self, file=None, files=None, local_vars_configuration=None): # noqa: E501 """FileSchemaTestClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._file = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/format_test.py b/samples/client/petstore/python-tornado/petstore_api/models/format_test.py index 903a8c66491..c193f9313e9 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/format_test.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/format_test.py @@ -69,7 +69,7 @@ class FormatTest(object): def __init__(self, integer=None, int32=None, int64=None, number=None, float=None, double=None, string=None, byte=None, binary=None, date=None, date_time=None, uuid=None, password=None, big_decimal=None, local_vars_configuration=None): # noqa: E501 """FormatTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._integer = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/has_only_read_only.py b/samples/client/petstore/python-tornado/petstore_api/models/has_only_read_only.py index 38334f7d849..dac8cfaff93 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/has_only_read_only.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/has_only_read_only.py @@ -45,7 +45,7 @@ class HasOnlyReadOnly(object): def __init__(self, bar=None, foo=None, local_vars_configuration=None): # noqa: E501 """HasOnlyReadOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._bar = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/list.py b/samples/client/petstore/python-tornado/petstore_api/models/list.py index 84c0460c5ea..b4425722474 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/list.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/list.py @@ -43,7 +43,7 @@ class List(object): def __init__(self, _123_list=None, local_vars_configuration=None): # noqa: E501 """List - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.__123_list = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/map_test.py b/samples/client/petstore/python-tornado/petstore_api/models/map_test.py index 4b1eab50c3c..406f35db750 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/map_test.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/map_test.py @@ -49,7 +49,7 @@ class MapTest(object): def __init__(self, map_map_of_string=None, map_of_enum_string=None, direct_map=None, indirect_map=None, local_vars_configuration=None): # noqa: E501 """MapTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._map_map_of_string = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/mixed_properties_and_additional_properties_class.py b/samples/client/petstore/python-tornado/petstore_api/models/mixed_properties_and_additional_properties_class.py index 9800db2bf49..14428a6536a 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/mixed_properties_and_additional_properties_class.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/mixed_properties_and_additional_properties_class.py @@ -47,7 +47,7 @@ class MixedPropertiesAndAdditionalPropertiesClass(object): def __init__(self, uuid=None, date_time=None, map=None, local_vars_configuration=None): # noqa: E501 """MixedPropertiesAndAdditionalPropertiesClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._uuid = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/model200_response.py b/samples/client/petstore/python-tornado/petstore_api/models/model200_response.py index 002c6e24b7a..5c90147467b 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/model200_response.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/model200_response.py @@ -45,7 +45,7 @@ class Model200Response(object): def __init__(self, name=None, _class=None, local_vars_configuration=None): # noqa: E501 """Model200Response - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/model_return.py b/samples/client/petstore/python-tornado/petstore_api/models/model_return.py index c32a439f93e..88174ef2308 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/model_return.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/model_return.py @@ -43,7 +43,7 @@ class ModelReturn(object): def __init__(self, _return=None, local_vars_configuration=None): # noqa: E501 """ModelReturn - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.__return = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/name.py b/samples/client/petstore/python-tornado/petstore_api/models/name.py index 234281e3547..528988ebd43 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/name.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/name.py @@ -49,7 +49,7 @@ class Name(object): def __init__(self, name=None, snake_case=None, _property=None, _123_number=None, local_vars_configuration=None): # noqa: E501 """Name - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/number_only.py b/samples/client/petstore/python-tornado/petstore_api/models/number_only.py index 9686f10c23f..ebbcc8996d0 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/number_only.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/number_only.py @@ -43,7 +43,7 @@ class NumberOnly(object): def __init__(self, just_number=None, local_vars_configuration=None): # noqa: E501 """NumberOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._just_number = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/order.py b/samples/client/petstore/python-tornado/petstore_api/models/order.py index 67893f9d6b6..6513d48a3a5 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/order.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/order.py @@ -53,7 +53,7 @@ class Order(object): def __init__(self, id=None, pet_id=None, quantity=None, ship_date=None, status=None, complete=False, local_vars_configuration=None): # noqa: E501 """Order - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/outer_composite.py b/samples/client/petstore/python-tornado/petstore_api/models/outer_composite.py index 2cfe197d59d..44124e13c09 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/outer_composite.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/outer_composite.py @@ -47,7 +47,7 @@ class OuterComposite(object): def __init__(self, my_number=None, my_string=None, my_boolean=None, local_vars_configuration=None): # noqa: E501 """OuterComposite - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._my_number = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/outer_enum.py b/samples/client/petstore/python-tornado/petstore_api/models/outer_enum.py index dee8ff19d41..77624ba1540 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/outer_enum.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/outer_enum.py @@ -50,7 +50,7 @@ class OuterEnum(object): def __init__(self, local_vars_configuration=None): # noqa: E501 """OuterEnum - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.discriminator = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/pet.py b/samples/client/petstore/python-tornado/petstore_api/models/pet.py index 4884907339a..e71589429ca 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/pet.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/pet.py @@ -53,7 +53,7 @@ class Pet(object): def __init__(self, id=None, category=None, name=None, photo_urls=None, tags=None, status=None, local_vars_configuration=None): # noqa: E501 """Pet - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/read_only_first.py b/samples/client/petstore/python-tornado/petstore_api/models/read_only_first.py index 20e7e86256c..3a320fe64f0 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/read_only_first.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/read_only_first.py @@ -45,7 +45,7 @@ class ReadOnlyFirst(object): def __init__(self, bar=None, baz=None, local_vars_configuration=None): # noqa: E501 """ReadOnlyFirst - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._bar = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/special_model_name.py b/samples/client/petstore/python-tornado/petstore_api/models/special_model_name.py index 2c004306f2d..7669a508789 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/special_model_name.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/special_model_name.py @@ -43,7 +43,7 @@ class SpecialModelName(object): def __init__(self, special_property_name=None, local_vars_configuration=None): # noqa: E501 """SpecialModelName - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._special_property_name = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/tag.py b/samples/client/petstore/python-tornado/petstore_api/models/tag.py index 672ef00e16a..dbac885ad8e 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/tag.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/tag.py @@ -45,7 +45,7 @@ class Tag(object): def __init__(self, id=None, name=None, local_vars_configuration=None): # noqa: E501 """Tag - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/type_holder_default.py b/samples/client/petstore/python-tornado/petstore_api/models/type_holder_default.py index 10a7ecdaddf..c890f553192 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/type_holder_default.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/type_holder_default.py @@ -51,7 +51,7 @@ class TypeHolderDefault(object): def __init__(self, string_item='what', number_item=None, integer_item=None, bool_item=True, array_item=None, local_vars_configuration=None): # noqa: E501 """TypeHolderDefault - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._string_item = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/type_holder_example.py b/samples/client/petstore/python-tornado/petstore_api/models/type_holder_example.py index ef94362590f..d52425d442e 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/type_holder_example.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/type_holder_example.py @@ -53,7 +53,7 @@ class TypeHolderExample(object): def __init__(self, string_item=None, number_item=None, float_item=None, integer_item=None, bool_item=None, array_item=None, local_vars_configuration=None): # noqa: E501 """TypeHolderExample - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._string_item = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/user.py b/samples/client/petstore/python-tornado/petstore_api/models/user.py index ba578cded7d..b70d84a6b40 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/user.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/user.py @@ -57,7 +57,7 @@ class User(object): def __init__(self, id=None, username=None, first_name=None, last_name=None, email=None, password=None, phone=None, user_status=None, local_vars_configuration=None): # noqa: E501 """User - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/client/petstore/python-tornado/petstore_api/models/xml_item.py b/samples/client/petstore/python-tornado/petstore_api/models/xml_item.py index d286bca8e9f..d63ab77acfd 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/xml_item.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/xml_item.py @@ -99,7 +99,7 @@ class XmlItem(object): def __init__(self, attribute_string=None, attribute_number=None, attribute_integer=None, attribute_boolean=None, wrapped_array=None, name_string=None, name_number=None, name_integer=None, name_boolean=None, name_array=None, name_wrapped_array=None, prefix_string=None, prefix_number=None, prefix_integer=None, prefix_boolean=None, prefix_array=None, prefix_wrapped_array=None, namespace_string=None, namespace_number=None, namespace_integer=None, namespace_boolean=None, namespace_array=None, namespace_wrapped_array=None, prefix_ns_string=None, prefix_ns_number=None, prefix_ns_integer=None, prefix_ns_boolean=None, prefix_ns_array=None, prefix_ns_wrapped_array=None, local_vars_configuration=None): # noqa: E501 """XmlItem - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._attribute_string = None diff --git a/samples/client/petstore/python/petstore_api/api_client.py b/samples/client/petstore/python/petstore_api/api_client.py index 62640966004..a43e4ace242 100644 --- a/samples/client/petstore/python/petstore_api/api_client.py +++ b/samples/client/petstore/python/petstore_api/api_client.py @@ -66,7 +66,7 @@ class ApiClient(object): def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=1): if configuration is None: - configuration = Configuration() + configuration = Configuration.get_default_copy() self.configuration = configuration self.pool_threads = pool_threads 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 ff79b8cbba4..9230d950d48 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 @@ -66,7 +66,7 @@ class ApiClient(object): def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=1): if configuration is None: - configuration = Configuration() + configuration = Configuration.get_default_copy() self.configuration = configuration self.pool_threads = pool_threads 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 54e8236e10d..0b76cbb12b1 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 @@ -66,7 +66,7 @@ class ApiClient(object): def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=1): if configuration is None: - configuration = Configuration() + configuration = Configuration.get_default_copy() self.configuration = configuration self.pool_threads = pool_threads diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/additional_properties_class.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/additional_properties_class.py index f21c2aff3a4..a846775889f 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/additional_properties_class.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/additional_properties_class.py @@ -45,7 +45,7 @@ class AdditionalPropertiesClass(object): def __init__(self, map_property=None, map_of_map_property=None, local_vars_configuration=None): # noqa: E501 """AdditionalPropertiesClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._map_property = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/animal.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/animal.py index 51496c5bf7e..2427f910a97 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/animal.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/animal.py @@ -50,7 +50,7 @@ class Animal(object): def __init__(self, class_name=None, color='red', local_vars_configuration=None): # noqa: E501 """Animal - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._class_name = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/api_response.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/api_response.py index 134c858e676..ab5e7999dd2 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/api_response.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/api_response.py @@ -47,7 +47,7 @@ class ApiResponse(object): def __init__(self, code=None, type=None, message=None, local_vars_configuration=None): # noqa: E501 """ApiResponse - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._code = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/array_of_array_of_number_only.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/array_of_array_of_number_only.py index a79118e4d77..c9b65c7e531 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/array_of_array_of_number_only.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/array_of_array_of_number_only.py @@ -43,7 +43,7 @@ class ArrayOfArrayOfNumberOnly(object): def __init__(self, array_array_number=None, local_vars_configuration=None): # noqa: E501 """ArrayOfArrayOfNumberOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._array_array_number = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/array_of_number_only.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/array_of_number_only.py index a419a32417b..870286e0fc0 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/array_of_number_only.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/array_of_number_only.py @@ -43,7 +43,7 @@ class ArrayOfNumberOnly(object): def __init__(self, array_number=None, local_vars_configuration=None): # noqa: E501 """ArrayOfNumberOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._array_number = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/array_test.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/array_test.py index 5a4414efadb..04d2cb6ec60 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/array_test.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/array_test.py @@ -47,7 +47,7 @@ class ArrayTest(object): def __init__(self, array_of_string=None, array_array_of_integer=None, array_array_of_model=None, local_vars_configuration=None): # noqa: E501 """ArrayTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._array_of_string = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/capitalization.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/capitalization.py index cc6c7e89f0b..064dc2eb2ff 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/capitalization.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/capitalization.py @@ -53,7 +53,7 @@ class Capitalization(object): def __init__(self, small_camel=None, capital_camel=None, small_snake=None, capital_snake=None, sca_eth_flow_points=None, att_name=None, local_vars_configuration=None): # noqa: E501 """Capitalization - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._small_camel = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/cat.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/cat.py index 3220455c58e..3b6e6aa4c2e 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/cat.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/cat.py @@ -43,7 +43,7 @@ class Cat(object): def __init__(self, declawed=None, local_vars_configuration=None): # noqa: E501 """Cat - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._declawed = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/cat_all_of.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/cat_all_of.py index d14ed559778..7755fd65b0c 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/cat_all_of.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/cat_all_of.py @@ -43,7 +43,7 @@ class CatAllOf(object): def __init__(self, declawed=None, local_vars_configuration=None): # noqa: E501 """CatAllOf - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._declawed = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/category.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/category.py index b54a371eb1a..c3dd5a4b9a1 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/category.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/category.py @@ -45,7 +45,7 @@ class Category(object): def __init__(self, id=None, name='default-name', local_vars_configuration=None): # noqa: E501 """Category - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/class_model.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/class_model.py index 626e59e5d9a..cd9439763d2 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/class_model.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/class_model.py @@ -43,7 +43,7 @@ class ClassModel(object): def __init__(self, _class=None, local_vars_configuration=None): # noqa: E501 """ClassModel - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.__class = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/client.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/client.py index 39f21dc29c6..f896b35240c 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/client.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/client.py @@ -43,7 +43,7 @@ class Client(object): def __init__(self, client=None, local_vars_configuration=None): # noqa: E501 """Client - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._client = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/dog.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/dog.py index 681f6d400d0..39514284d5f 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/dog.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/dog.py @@ -43,7 +43,7 @@ class Dog(object): def __init__(self, breed=None, local_vars_configuration=None): # noqa: E501 """Dog - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._breed = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/dog_all_of.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/dog_all_of.py index fce64943baf..207103a4874 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/dog_all_of.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/dog_all_of.py @@ -43,7 +43,7 @@ class DogAllOf(object): def __init__(self, breed=None, local_vars_configuration=None): # noqa: E501 """DogAllOf - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._breed = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/enum_arrays.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/enum_arrays.py index fb189081236..b87cd37456e 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/enum_arrays.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/enum_arrays.py @@ -45,7 +45,7 @@ class EnumArrays(object): def __init__(self, just_symbol=None, array_enum=None, local_vars_configuration=None): # noqa: E501 """EnumArrays - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._just_symbol = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/enum_class.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/enum_class.py index cc70e35f515..4b11877863a 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/enum_class.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/enum_class.py @@ -50,7 +50,7 @@ class EnumClass(object): def __init__(self, local_vars_configuration=None): # noqa: E501 """EnumClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.discriminator = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/enum_test.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/enum_test.py index 41d776a93da..09d7d1e3d80 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/enum_test.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/enum_test.py @@ -57,7 +57,7 @@ class EnumTest(object): def __init__(self, enum_string=None, enum_string_required=None, enum_integer=None, enum_number=None, outer_enum=None, outer_enum_integer=None, outer_enum_default_value=None, outer_enum_integer_default_value=None, local_vars_configuration=None): # noqa: E501 """EnumTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._enum_string = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/file.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/file.py index 425e49e9801..e40cd04b014 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/file.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/file.py @@ -43,7 +43,7 @@ class File(object): def __init__(self, source_uri=None, local_vars_configuration=None): # noqa: E501 """File - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._source_uri = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/file_schema_test_class.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/file_schema_test_class.py index 630d73985c2..d266755d260 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/file_schema_test_class.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/file_schema_test_class.py @@ -45,7 +45,7 @@ class FileSchemaTestClass(object): def __init__(self, file=None, files=None, local_vars_configuration=None): # noqa: E501 """FileSchemaTestClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._file = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/foo.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/foo.py index 5cd84a56cde..05abc6e9b9f 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/foo.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/foo.py @@ -43,7 +43,7 @@ class Foo(object): def __init__(self, bar='bar', local_vars_configuration=None): # noqa: E501 """Foo - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._bar = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/format_test.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/format_test.py index 4a0cbcfbb14..a8323ade641 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/format_test.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/format_test.py @@ -73,7 +73,7 @@ class FormatTest(object): def __init__(self, integer=None, int32=None, int64=None, number=None, float=None, double=None, decimal=None, string=None, byte=None, binary=None, date=None, date_time=None, uuid=None, password=None, pattern_with_digits=None, pattern_with_digits_and_delimiter=None, local_vars_configuration=None): # noqa: E501 """FormatTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._integer = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/has_only_read_only.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/has_only_read_only.py index 38334f7d849..dac8cfaff93 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/has_only_read_only.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/has_only_read_only.py @@ -45,7 +45,7 @@ class HasOnlyReadOnly(object): def __init__(self, bar=None, foo=None, local_vars_configuration=None): # noqa: E501 """HasOnlyReadOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._bar = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/health_check_result.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/health_check_result.py index 9e2c179ad66..cde33f5146a 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/health_check_result.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/health_check_result.py @@ -43,7 +43,7 @@ class HealthCheckResult(object): def __init__(self, nullable_message=None, local_vars_configuration=None): # noqa: E501 """HealthCheckResult - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._nullable_message = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object.py index 9f1c425f42a..0fe31d990ea 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object.py @@ -45,7 +45,7 @@ class InlineObject(object): def __init__(self, name=None, status=None, local_vars_configuration=None): # noqa: E501 """InlineObject - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object1.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object1.py index 8d68841e309..5ca7d1743b8 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object1.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object1.py @@ -45,7 +45,7 @@ class InlineObject1(object): def __init__(self, additional_metadata=None, file=None, local_vars_configuration=None): # noqa: E501 """InlineObject1 - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._additional_metadata = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object2.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object2.py index 0b81a67fba4..5c51b40c976 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object2.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object2.py @@ -45,7 +45,7 @@ class InlineObject2(object): def __init__(self, enum_form_string_array=None, enum_form_string='-efg', local_vars_configuration=None): # noqa: E501 """InlineObject2 - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._enum_form_string_array = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object3.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object3.py index 99c011bf421..f604a543616 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object3.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object3.py @@ -69,7 +69,7 @@ class InlineObject3(object): def __init__(self, integer=None, int32=None, int64=None, number=None, float=None, double=None, string=None, pattern_without_delimiter=None, byte=None, binary=None, date=None, date_time=None, password=None, callback=None, local_vars_configuration=None): # noqa: E501 """InlineObject3 - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._integer = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object4.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object4.py index cba25ac4f46..4cd6b4cefdb 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object4.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object4.py @@ -45,7 +45,7 @@ class InlineObject4(object): def __init__(self, param=None, param2=None, local_vars_configuration=None): # noqa: E501 """InlineObject4 - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._param = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object5.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object5.py index d5472fbb5b6..ba966fc3c34 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object5.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_object5.py @@ -45,7 +45,7 @@ class InlineObject5(object): def __init__(self, additional_metadata=None, required_file=None, local_vars_configuration=None): # noqa: E501 """InlineObject5 - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._additional_metadata = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_response_default.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_response_default.py index eee9195cea6..d9da22a5fd3 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_response_default.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/inline_response_default.py @@ -43,7 +43,7 @@ class InlineResponseDefault(object): def __init__(self, string=None, local_vars_configuration=None): # noqa: E501 """InlineResponseDefault - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._string = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/list.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/list.py index 84c0460c5ea..b4425722474 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/list.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/list.py @@ -43,7 +43,7 @@ class List(object): def __init__(self, _123_list=None, local_vars_configuration=None): # noqa: E501 """List - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.__123_list = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/map_test.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/map_test.py index 4b1eab50c3c..406f35db750 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/map_test.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/map_test.py @@ -49,7 +49,7 @@ class MapTest(object): def __init__(self, map_map_of_string=None, map_of_enum_string=None, direct_map=None, indirect_map=None, local_vars_configuration=None): # noqa: E501 """MapTest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._map_map_of_string = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/mixed_properties_and_additional_properties_class.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/mixed_properties_and_additional_properties_class.py index 9800db2bf49..14428a6536a 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/mixed_properties_and_additional_properties_class.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/mixed_properties_and_additional_properties_class.py @@ -47,7 +47,7 @@ class MixedPropertiesAndAdditionalPropertiesClass(object): def __init__(self, uuid=None, date_time=None, map=None, local_vars_configuration=None): # noqa: E501 """MixedPropertiesAndAdditionalPropertiesClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._uuid = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/model200_response.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/model200_response.py index 002c6e24b7a..5c90147467b 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/model200_response.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/model200_response.py @@ -45,7 +45,7 @@ class Model200Response(object): def __init__(self, name=None, _class=None, local_vars_configuration=None): # noqa: E501 """Model200Response - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/model_return.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/model_return.py index c32a439f93e..88174ef2308 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/model_return.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/model_return.py @@ -43,7 +43,7 @@ class ModelReturn(object): def __init__(self, _return=None, local_vars_configuration=None): # noqa: E501 """ModelReturn - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.__return = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/name.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/name.py index 234281e3547..528988ebd43 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/name.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/name.py @@ -49,7 +49,7 @@ class Name(object): def __init__(self, name=None, snake_case=None, _property=None, _123_number=None, local_vars_configuration=None): # noqa: E501 """Name - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._name = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/nullable_class.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/nullable_class.py index 054f6a26162..490eb2ba7d0 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/nullable_class.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/nullable_class.py @@ -65,7 +65,7 @@ class NullableClass(object): def __init__(self, integer_prop=None, number_prop=None, boolean_prop=None, string_prop=None, date_prop=None, datetime_prop=None, array_nullable_prop=None, array_and_items_nullable_prop=None, array_items_nullable=None, object_nullable_prop=None, object_and_items_nullable_prop=None, object_items_nullable=None, local_vars_configuration=None): # noqa: E501 """NullableClass - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._integer_prop = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/number_only.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/number_only.py index 9686f10c23f..ebbcc8996d0 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/number_only.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/number_only.py @@ -43,7 +43,7 @@ class NumberOnly(object): def __init__(self, just_number=None, local_vars_configuration=None): # noqa: E501 """NumberOnly - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._just_number = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/order.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/order.py index 67893f9d6b6..6513d48a3a5 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/order.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/order.py @@ -53,7 +53,7 @@ class Order(object): def __init__(self, id=None, pet_id=None, quantity=None, ship_date=None, status=None, complete=False, local_vars_configuration=None): # noqa: E501 """Order - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_composite.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_composite.py index 2cfe197d59d..44124e13c09 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_composite.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_composite.py @@ -47,7 +47,7 @@ class OuterComposite(object): def __init__(self, my_number=None, my_string=None, my_boolean=None, local_vars_configuration=None): # noqa: E501 """OuterComposite - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._my_number = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum.py index dee8ff19d41..77624ba1540 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum.py @@ -50,7 +50,7 @@ class OuterEnum(object): def __init__(self, local_vars_configuration=None): # noqa: E501 """OuterEnum - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.discriminator = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum_default_value.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum_default_value.py index 609df865fbc..aae43db66e6 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum_default_value.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum_default_value.py @@ -50,7 +50,7 @@ class OuterEnumDefaultValue(object): def __init__(self, local_vars_configuration=None): # noqa: E501 """OuterEnumDefaultValue - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.discriminator = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum_integer.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum_integer.py index 4981a5f2d8c..d3d9ca3dbf9 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum_integer.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum_integer.py @@ -50,7 +50,7 @@ class OuterEnumInteger(object): def __init__(self, local_vars_configuration=None): # noqa: E501 """OuterEnumInteger - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.discriminator = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum_integer_default_value.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum_integer_default_value.py index 0a800c54240..9e0ed2c1a8b 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum_integer_default_value.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/outer_enum_integer_default_value.py @@ -50,7 +50,7 @@ class OuterEnumIntegerDefaultValue(object): def __init__(self, local_vars_configuration=None): # noqa: E501 """OuterEnumIntegerDefaultValue - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self.discriminator = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/pet.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/pet.py index 4884907339a..e71589429ca 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/pet.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/pet.py @@ -53,7 +53,7 @@ class Pet(object): def __init__(self, id=None, category=None, name=None, photo_urls=None, tags=None, status=None, local_vars_configuration=None): # noqa: E501 """Pet - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/read_only_first.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/read_only_first.py index 20e7e86256c..3a320fe64f0 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/read_only_first.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/read_only_first.py @@ -45,7 +45,7 @@ class ReadOnlyFirst(object): def __init__(self, bar=None, baz=None, local_vars_configuration=None): # noqa: E501 """ReadOnlyFirst - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._bar = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/special_model_name.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/special_model_name.py index 2c004306f2d..7669a508789 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/special_model_name.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/special_model_name.py @@ -43,7 +43,7 @@ class SpecialModelName(object): def __init__(self, special_property_name=None, local_vars_configuration=None): # noqa: E501 """SpecialModelName - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._special_property_name = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/tag.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/tag.py index 672ef00e16a..dbac885ad8e 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/tag.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/tag.py @@ -45,7 +45,7 @@ class Tag(object): def __init__(self, id=None, name=None, local_vars_configuration=None): # noqa: E501 """Tag - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None diff --git a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/user.py b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/user.py index ba578cded7d..b70d84a6b40 100755 --- a/samples/openapi3/client/petstore/python-legacy/petstore_api/models/user.py +++ b/samples/openapi3/client/petstore/python-legacy/petstore_api/models/user.py @@ -57,7 +57,7 @@ class User(object): def __init__(self, id=None, username=None, first_name=None, last_name=None, email=None, password=None, phone=None, user_status=None, local_vars_configuration=None): # noqa: E501 """User - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: - local_vars_configuration = Configuration() + local_vars_configuration = Configuration.get_default_copy() self.local_vars_configuration = local_vars_configuration self._id = None 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 3b0b3e4ea7f..2c5f087123e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/api_client.py +++ b/samples/openapi3/client/petstore/python/petstore_api/api_client.py @@ -66,7 +66,7 @@ class ApiClient(object): def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=1): if configuration is None: - configuration = Configuration() + configuration = Configuration.get_default_copy() self.configuration = configuration self.pool_threads = pool_threads