diff --git a/modules/openapi-generator/src/main/resources/python/model_anyof.mustache b/modules/openapi-generator/src/main/resources/python/model_anyof.mustache index bbdaea4b310..0d575011b26 100644 --- a/modules/openapi-generator/src/main/resources/python/model_anyof.mustache +++ b/modules/openapi-generator/src/main/resources/python/model_anyof.mustache @@ -38,7 +38,8 @@ class {{classname}}({{#parent}}{{{.}}}{{/parent}}{{^parent}}BaseModel{{/parent}} any_of_schemas: List[str] = Literal[{{#lambda.uppercase}}{{{classname}}}{{/lambda.uppercase}}_ANY_OF_SCHEMAS] model_config = { - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } {{#discriminator}} diff --git a/modules/openapi-generator/src/main/resources/python/model_generic.mustache b/modules/openapi-generator/src/main/resources/python/model_generic.mustache index 5eaaf29d218..1b676e46955 100644 --- a/modules/openapi-generator/src/main/resources/python/model_generic.mustache +++ b/modules/openapi-generator/src/main/resources/python/model_generic.mustache @@ -82,7 +82,8 @@ class {{classname}}({{#parent}}{{{.}}}{{/parent}}{{^parent}}BaseModel{{/parent}} model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/modules/openapi-generator/src/main/resources/python/model_oneof.mustache b/modules/openapi-generator/src/main/resources/python/model_oneof.mustache index 4fb47c8c874..b87c42cf2b9 100644 --- a/modules/openapi-generator/src/main/resources/python/model_oneof.mustache +++ b/modules/openapi-generator/src/main/resources/python/model_oneof.mustache @@ -34,7 +34,8 @@ class {{classname}}({{#parent}}{{{.}}}{{/parent}}{{^parent}}BaseModel{{/parent}} one_of_schemas: List[str] = Literal[{{#oneOf}}"{{.}}"{{^-last}}, {{/-last}}{{/oneOf}}] model_config = { - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } {{#discriminator}} diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/bird.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/bird.py index f9965cbf239..37b2425aa6f 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/bird.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/bird.py @@ -36,7 +36,8 @@ class Bird(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/category.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/category.py index 5fa311ef3a5..078fb655719 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/category.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/category.py @@ -36,7 +36,8 @@ class Category(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/data_query.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/data_query.py index 032eca7b61d..49d1c4ec4eb 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/data_query.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/data_query.py @@ -39,7 +39,8 @@ class DataQuery(Query): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/default_value.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/default_value.py index 65601e0e0f8..809cb22027f 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/default_value.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/default_value.py @@ -54,7 +54,8 @@ class DefaultValue(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/number_properties_only.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/number_properties_only.py index 2b431cc8a2a..e5e6acc13b6 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/number_properties_only.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/number_properties_only.py @@ -39,7 +39,8 @@ class NumberPropertiesOnly(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/pet.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/pet.py index 81346c1670e..21276281a22 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/pet.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/pet.py @@ -53,7 +53,8 @@ class Pet(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/query.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/query.py index b9082dd618a..863b9e47782 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/query.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/query.py @@ -48,7 +48,8 @@ class Query(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/tag.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/tag.py index 4d769f71ed9..de29129b4a6 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/tag.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/tag.py @@ -36,7 +36,8 @@ class Tag(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py index 6f93ba99bf8..683221d51dc 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py @@ -38,7 +38,8 @@ class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(BaseMod model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py index 8b32f319d1d..4e3509e9c6e 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent-true/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py @@ -35,7 +35,8 @@ class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python/openapi_client/models/bird.py b/samples/client/echo_api/python/openapi_client/models/bird.py index 1714c0227c1..912e333dfcf 100644 --- a/samples/client/echo_api/python/openapi_client/models/bird.py +++ b/samples/client/echo_api/python/openapi_client/models/bird.py @@ -36,7 +36,8 @@ class Bird(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python/openapi_client/models/category.py b/samples/client/echo_api/python/openapi_client/models/category.py index 228305e951a..ce51a55a27e 100644 --- a/samples/client/echo_api/python/openapi_client/models/category.py +++ b/samples/client/echo_api/python/openapi_client/models/category.py @@ -36,7 +36,8 @@ class Category(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python/openapi_client/models/data_query.py b/samples/client/echo_api/python/openapi_client/models/data_query.py index 84436c8f801..03d979ce5f3 100644 --- a/samples/client/echo_api/python/openapi_client/models/data_query.py +++ b/samples/client/echo_api/python/openapi_client/models/data_query.py @@ -39,7 +39,8 @@ class DataQuery(Query): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python/openapi_client/models/default_value.py b/samples/client/echo_api/python/openapi_client/models/default_value.py index 06b271b3f0d..fac957f7aaa 100644 --- a/samples/client/echo_api/python/openapi_client/models/default_value.py +++ b/samples/client/echo_api/python/openapi_client/models/default_value.py @@ -54,7 +54,8 @@ class DefaultValue(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python/openapi_client/models/number_properties_only.py b/samples/client/echo_api/python/openapi_client/models/number_properties_only.py index d24cb81dd40..b149da3a87d 100644 --- a/samples/client/echo_api/python/openapi_client/models/number_properties_only.py +++ b/samples/client/echo_api/python/openapi_client/models/number_properties_only.py @@ -39,7 +39,8 @@ class NumberPropertiesOnly(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python/openapi_client/models/pet.py b/samples/client/echo_api/python/openapi_client/models/pet.py index de43b77176c..08269b0eabf 100644 --- a/samples/client/echo_api/python/openapi_client/models/pet.py +++ b/samples/client/echo_api/python/openapi_client/models/pet.py @@ -53,7 +53,8 @@ class Pet(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python/openapi_client/models/query.py b/samples/client/echo_api/python/openapi_client/models/query.py index b9082dd618a..863b9e47782 100644 --- a/samples/client/echo_api/python/openapi_client/models/query.py +++ b/samples/client/echo_api/python/openapi_client/models/query.py @@ -48,7 +48,8 @@ class Query(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python/openapi_client/models/tag.py b/samples/client/echo_api/python/openapi_client/models/tag.py index 07b64937b8a..fa3745c26a6 100644 --- a/samples/client/echo_api/python/openapi_client/models/tag.py +++ b/samples/client/echo_api/python/openapi_client/models/tag.py @@ -36,7 +36,8 @@ class Tag(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py b/samples/client/echo_api/python/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py index dfc91faa060..1929f6cf546 100644 --- a/samples/client/echo_api/python/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py +++ b/samples/client/echo_api/python/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py @@ -38,7 +38,8 @@ class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(BaseMod model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/client/echo_api/python/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py b/samples/client/echo_api/python/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py index 0144aa686e4..d1d85efa1d5 100644 --- a/samples/client/echo_api/python/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py +++ b/samples/client/echo_api/python/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py @@ -35,7 +35,8 @@ class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_any_type.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_any_type.py index 734a02cf232..2ce4d17e957 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_any_type.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_any_type.py @@ -35,7 +35,8 @@ class AdditionalPropertiesAnyType(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_class.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_class.py index 1eb1782ef73..89990769e8b 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_class.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_class.py @@ -35,7 +35,8 @@ class AdditionalPropertiesClass(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_object.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_object.py index a201dfca233..6d6fd8daf5f 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_object.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_object.py @@ -35,7 +35,8 @@ class AdditionalPropertiesObject(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_with_description_only.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_with_description_only.py index d9275b94161..9a41a8257f1 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_with_description_only.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/additional_properties_with_description_only.py @@ -35,7 +35,8 @@ class AdditionalPropertiesWithDescriptionOnly(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/all_of_with_single_ref.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/all_of_with_single_ref.py index 917d79c32cf..5113e44ff6b 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/all_of_with_single_ref.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/all_of_with_single_ref.py @@ -37,7 +37,8 @@ class AllOfWithSingleRef(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/animal.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/animal.py index fe213c1e1a2..7fbe4d9e378 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/animal.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/animal.py @@ -36,7 +36,8 @@ class Animal(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/any_of_color.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/any_of_color.py index 15b9eefd670..7e8e6976ebc 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/any_of_color.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/any_of_color.py @@ -50,7 +50,8 @@ class AnyOfColor(BaseModel): any_of_schemas: List[str] = Literal[ANYOFCOLOR_ANY_OF_SCHEMAS] model_config = { - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } def __init__(self, *args, **kwargs) -> None: diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/any_of_pig.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/any_of_pig.py index be2f65a242e..4abe31fc06f 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/any_of_pig.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/any_of_pig.py @@ -48,7 +48,8 @@ class AnyOfPig(BaseModel): any_of_schemas: List[str] = Literal[ANYOFPIG_ANY_OF_SCHEMAS] model_config = { - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } def __init__(self, *args, **kwargs) -> None: diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/api_response.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/api_response.py index 9a8cee04ef7..e358f2a5fdb 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/api_response.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/api_response.py @@ -36,7 +36,8 @@ class ApiResponse(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_of_array_of_model.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_of_array_of_model.py index f28e28434f0..de1c55eb1ac 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_of_array_of_model.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_of_array_of_model.py @@ -35,7 +35,8 @@ class ArrayOfArrayOfModel(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_of_array_of_number_only.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_of_array_of_number_only.py index 9107d863c8d..c1817cdf4f1 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_of_array_of_number_only.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_of_array_of_number_only.py @@ -35,7 +35,8 @@ class ArrayOfArrayOfNumberOnly(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_of_number_only.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_of_number_only.py index d95e38a48c5..653279be0ad 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_of_number_only.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_of_number_only.py @@ -35,7 +35,8 @@ class ArrayOfNumberOnly(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_test.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_test.py index cad7b9bb8c4..51ea20fca90 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_test.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/array_test.py @@ -39,7 +39,8 @@ class ArrayTest(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/basque_pig.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/basque_pig.py index d4686b03907..9f53a04d9f1 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/basque_pig.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/basque_pig.py @@ -36,7 +36,8 @@ class BasquePig(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/capitalization.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/capitalization.py index 0fa1b87152e..d5499384d47 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/capitalization.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/capitalization.py @@ -40,7 +40,8 @@ class Capitalization(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/cat.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/cat.py index 6b94a1c51dd..01dcacf9ca4 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/cat.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/cat.py @@ -35,7 +35,8 @@ class Cat(Animal): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/category.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/category.py index 547c9bfed8a..5d7c648d5fb 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/category.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/category.py @@ -35,7 +35,8 @@ class Category(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/circular_reference_model.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/circular_reference_model.py index 8176d68569f..6ce8fec888c 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/circular_reference_model.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/circular_reference_model.py @@ -35,7 +35,8 @@ class CircularReferenceModel(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/class_model.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/class_model.py index 5441a2bf38c..633147cd5bd 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/class_model.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/class_model.py @@ -35,7 +35,8 @@ class ClassModel(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/client.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/client.py index 7102fe6b20e..5f516b120ec 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/client.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/client.py @@ -34,7 +34,8 @@ class Client(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/color.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/color.py index 287542b1f82..638d942a34e 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/color.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/color.py @@ -46,7 +46,8 @@ class Color(BaseModel): one_of_schemas: List[str] = Literal["List[int]", "str"] model_config = { - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/creature.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/creature.py index 192544a6980..4c868095a25 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/creature.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/creature.py @@ -36,7 +36,8 @@ class Creature(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/creature_info.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/creature_info.py index 2cd50790070..3b80ab51ae8 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/creature_info.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/creature_info.py @@ -34,7 +34,8 @@ class CreatureInfo(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/danish_pig.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/danish_pig.py index 200ddb79009..0dd8bfb9b0a 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/danish_pig.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/danish_pig.py @@ -36,7 +36,8 @@ class DanishPig(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/deprecated_object.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/deprecated_object.py index de0839d71d6..6d0e0f1a892 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/deprecated_object.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/deprecated_object.py @@ -34,7 +34,8 @@ class DeprecatedObject(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/dog.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/dog.py index 586d25419be..9c491abfe3c 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/dog.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/dog.py @@ -35,7 +35,8 @@ class Dog(Animal): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/dummy_model.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/dummy_model.py index 288287f975f..ed7b3c13f9d 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/dummy_model.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/dummy_model.py @@ -35,7 +35,8 @@ class DummyModel(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/enum_arrays.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/enum_arrays.py index 17365739014..b6e22b93932 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/enum_arrays.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/enum_arrays.py @@ -56,7 +56,8 @@ class EnumArrays(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/enum_test.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/enum_test.py index 8c67ff17e31..d6089937744 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/enum_test.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/enum_test.py @@ -94,7 +94,8 @@ class EnumTest(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/file.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/file.py index 812b50d4c11..418a72f7cb3 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/file.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/file.py @@ -35,7 +35,8 @@ class File(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/file_schema_test_class.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/file_schema_test_class.py index 06c0a24d079..63ff3bcd8c8 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/file_schema_test_class.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/file_schema_test_class.py @@ -36,7 +36,8 @@ class FileSchemaTestClass(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/first_ref.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/first_ref.py index cc442eca85b..ca94567dafc 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/first_ref.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/first_ref.py @@ -35,7 +35,8 @@ class FirstRef(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/foo.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/foo.py index c20ace8c588..134af2ba41b 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/foo.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/foo.py @@ -34,7 +34,8 @@ class Foo(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/foo_get_default_response.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/foo_get_default_response.py index eb391b06b49..caa929d4ea8 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/foo_get_default_response.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/foo_get_default_response.py @@ -35,7 +35,8 @@ class FooGetDefaultResponse(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/format_test.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/format_test.py index 6bfbff97c0b..cf0d05f9e61 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/format_test.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/format_test.py @@ -93,7 +93,8 @@ class FormatTest(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/has_only_read_only.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/has_only_read_only.py index 788edd24b3d..567237d61a8 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/has_only_read_only.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/has_only_read_only.py @@ -35,7 +35,8 @@ class HasOnlyReadOnly(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/health_check_result.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/health_check_result.py index 51b236771f3..9b9ccf00c93 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/health_check_result.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/health_check_result.py @@ -35,7 +35,8 @@ class HealthCheckResult(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/inner_dict_with_property.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/inner_dict_with_property.py index cccc1d81082..106fbbbb988 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/inner_dict_with_property.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/inner_dict_with_property.py @@ -35,7 +35,8 @@ class InnerDictWithProperty(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/int_or_string.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/int_or_string.py index 2a0998a5b54..a7203af4ac5 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/int_or_string.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/int_or_string.py @@ -44,7 +44,8 @@ class IntOrString(BaseModel): one_of_schemas: List[str] = Literal["int", "str"] model_config = { - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/list_class.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/list_class.py index 2ced6b85f0f..bc8c47906e5 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/list_class.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/list_class.py @@ -35,7 +35,8 @@ class ListClass(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/map_of_array_of_model.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/map_of_array_of_model.py index 9509f0c843f..62760259975 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/map_of_array_of_model.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/map_of_array_of_model.py @@ -36,7 +36,8 @@ class MapOfArrayOfModel(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/map_test.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/map_test.py index a87ce1a8b41..c8f5ab91468 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/map_test.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/map_test.py @@ -47,7 +47,8 @@ class MapTest(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/mixed_properties_and_additional_properties_class.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/mixed_properties_and_additional_properties_class.py index 5aacfc451af..f920ef230f7 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/mixed_properties_and_additional_properties_class.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/mixed_properties_and_additional_properties_class.py @@ -38,7 +38,8 @@ class MixedPropertiesAndAdditionalPropertiesClass(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/model200_response.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/model200_response.py index 4efc84f75b5..1603076483e 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/model200_response.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/model200_response.py @@ -36,7 +36,8 @@ class Model200Response(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/model_return.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/model_return.py index 0e4f1e80cdc..87f9968d6a1 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/model_return.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/model_return.py @@ -35,7 +35,8 @@ class ModelReturn(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/name.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/name.py index 32c7b66ee8f..23e0d049281 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/name.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/name.py @@ -38,7 +38,8 @@ class Name(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/nullable_class.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/nullable_class.py index 9c90db25b87..67d7f00f9e6 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/nullable_class.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/nullable_class.py @@ -47,7 +47,8 @@ class NullableClass(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/nullable_property.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/nullable_property.py index 3d7d9663bea..14b8d854023 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/nullable_property.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/nullable_property.py @@ -47,7 +47,8 @@ class NullableProperty(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/number_only.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/number_only.py index 226982f7c8c..cf9be7a51a6 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/number_only.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/number_only.py @@ -35,7 +35,8 @@ class NumberOnly(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/object_to_test_additional_properties.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/object_to_test_additional_properties.py index 219ea7d843c..e036dbf5a2e 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/object_to_test_additional_properties.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/object_to_test_additional_properties.py @@ -35,7 +35,8 @@ class ObjectToTestAdditionalProperties(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/object_with_deprecated_fields.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/object_with_deprecated_fields.py index e78f1ef987f..9acbb113b6c 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/object_with_deprecated_fields.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/object_with_deprecated_fields.py @@ -39,7 +39,8 @@ class ObjectWithDeprecatedFields(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/one_of_enum_string.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/one_of_enum_string.py index 614e0fd658f..b099c7bab57 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/one_of_enum_string.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/one_of_enum_string.py @@ -44,7 +44,8 @@ class OneOfEnumString(BaseModel): one_of_schemas: List[str] = Literal["EnumString1", "EnumString2"] model_config = { - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/order.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/order.py index 75ab6d95ff3..a28b93ab9ae 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/order.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/order.py @@ -50,7 +50,8 @@ class Order(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/outer_composite.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/outer_composite.py index 6fe7ec9fb0a..1fae7664463 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/outer_composite.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/outer_composite.py @@ -36,7 +36,8 @@ class OuterComposite(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/outer_object_with_enum_property.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/outer_object_with_enum_property.py index 844ac85a294..a9771c1d8a1 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/outer_object_with_enum_property.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/outer_object_with_enum_property.py @@ -37,7 +37,8 @@ class OuterObjectWithEnumProperty(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/parent.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/parent.py index 136f109490b..a7ea11a992b 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/parent.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/parent.py @@ -36,7 +36,8 @@ class Parent(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/parent_with_optional_dict.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/parent_with_optional_dict.py index 7240ec6613e..a8753b9dc07 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/parent_with_optional_dict.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/parent_with_optional_dict.py @@ -36,7 +36,8 @@ class ParentWithOptionalDict(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/pet.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/pet.py index c2b5887dbce..92b9f77bc62 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/pet.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/pet.py @@ -53,7 +53,8 @@ class Pet(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/pig.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/pig.py index 09e131e10ea..f63458cd46e 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/pig.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/pig.py @@ -44,7 +44,8 @@ class Pig(BaseModel): one_of_schemas: List[str] = Literal["BasquePig", "DanishPig"] model_config = { - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/property_name_collision.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/property_name_collision.py index 4e7cb09c41b..0db7bfbc310 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/property_name_collision.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/property_name_collision.py @@ -37,7 +37,8 @@ class PropertyNameCollision(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/read_only_first.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/read_only_first.py index d5e03d8bcea..3e19a45c3d2 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/read_only_first.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/read_only_first.py @@ -35,7 +35,8 @@ class ReadOnlyFirst(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/second_ref.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/second_ref.py index 412be927455..b62a2b70f8a 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/second_ref.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/second_ref.py @@ -35,7 +35,8 @@ class SecondRef(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/self_reference_model.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/self_reference_model.py index 1fb606fba4a..eb6f112f572 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/self_reference_model.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/self_reference_model.py @@ -35,7 +35,8 @@ class SelfReferenceModel(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/special_model_name.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/special_model_name.py index 776914a6880..582effc78e1 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/special_model_name.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/special_model_name.py @@ -35,7 +35,8 @@ class SpecialModelName(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/special_name.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/special_name.py index 95fded41621..ac035dded90 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/special_name.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/special_name.py @@ -48,7 +48,8 @@ class SpecialName(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/tag.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/tag.py index 8e82ccbee38..cbbc6c635d5 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/tag.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/tag.py @@ -35,7 +35,8 @@ class Tag(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/test_inline_freeform_additional_properties_request.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/test_inline_freeform_additional_properties_request.py index a9424649743..c8d66e9d638 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/test_inline_freeform_additional_properties_request.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/test_inline_freeform_additional_properties_request.py @@ -36,7 +36,8 @@ class TestInlineFreeformAdditionalPropertiesRequest(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/tiger.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/tiger.py index f660a9b10a5..a84c0101129 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/tiger.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/tiger.py @@ -34,7 +34,8 @@ class Tiger(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/unnamed_dict_with_additional_model_list_properties.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/unnamed_dict_with_additional_model_list_properties.py index 347e62ff017..af26ad30973 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/unnamed_dict_with_additional_model_list_properties.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/unnamed_dict_with_additional_model_list_properties.py @@ -36,7 +36,8 @@ class UnnamedDictWithAdditionalModelListProperties(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/unnamed_dict_with_additional_string_list_properties.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/unnamed_dict_with_additional_string_list_properties.py index 549e33bf6db..aee8e999daf 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/unnamed_dict_with_additional_string_list_properties.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/unnamed_dict_with_additional_string_list_properties.py @@ -35,7 +35,8 @@ class UnnamedDictWithAdditionalStringListProperties(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/user.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/user.py index 45deeb8b101..e2f5bb9c489 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/user.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/user.py @@ -42,7 +42,8 @@ class User(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/with_nested_one_of.py b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/with_nested_one_of.py index 8597c58e07b..ccafcd94afa 100644 --- a/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/with_nested_one_of.py +++ b/samples/openapi3/client/petstore/python-aiohttp/petstore_api/models/with_nested_one_of.py @@ -38,7 +38,8 @@ class WithNestedOneOf(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_any_type.py b/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_any_type.py index 734a02cf232..2ce4d17e957 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_any_type.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_any_type.py @@ -35,7 +35,8 @@ class AdditionalPropertiesAnyType(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_class.py b/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_class.py index 0cd3c421b3f..4704d56b5d1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_class.py @@ -36,7 +36,8 @@ class AdditionalPropertiesClass(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_object.py b/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_object.py index a201dfca233..6d6fd8daf5f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_object.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_object.py @@ -35,7 +35,8 @@ class AdditionalPropertiesObject(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_with_description_only.py b/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_with_description_only.py index d9275b94161..9a41a8257f1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_with_description_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/additional_properties_with_description_only.py @@ -35,7 +35,8 @@ class AdditionalPropertiesWithDescriptionOnly(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/all_of_with_single_ref.py b/samples/openapi3/client/petstore/python/petstore_api/models/all_of_with_single_ref.py index 0b9428d10ad..7a7e76b88df 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/all_of_with_single_ref.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/all_of_with_single_ref.py @@ -38,7 +38,8 @@ class AllOfWithSingleRef(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/animal.py b/samples/openapi3/client/petstore/python/petstore_api/models/animal.py index 72b86942d9c..0851ecd1423 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/animal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/animal.py @@ -37,7 +37,8 @@ class Animal(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/any_of_color.py b/samples/openapi3/client/petstore/python/petstore_api/models/any_of_color.py index 15b9eefd670..7e8e6976ebc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/any_of_color.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/any_of_color.py @@ -50,7 +50,8 @@ class AnyOfColor(BaseModel): any_of_schemas: List[str] = Literal[ANYOFCOLOR_ANY_OF_SCHEMAS] model_config = { - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } def __init__(self, *args, **kwargs) -> None: diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/any_of_pig.py b/samples/openapi3/client/petstore/python/petstore_api/models/any_of_pig.py index be2f65a242e..4abe31fc06f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/any_of_pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/any_of_pig.py @@ -48,7 +48,8 @@ class AnyOfPig(BaseModel): any_of_schemas: List[str] = Literal[ANYOFPIG_ANY_OF_SCHEMAS] model_config = { - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } def __init__(self, *args, **kwargs) -> None: diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/api_response.py b/samples/openapi3/client/petstore/python/petstore_api/models/api_response.py index 1eb43cfdc9e..eac66acfb57 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/api_response.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/api_response.py @@ -37,7 +37,8 @@ class ApiResponse(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/array_of_array_of_model.py b/samples/openapi3/client/petstore/python/petstore_api/models/array_of_array_of_model.py index 854c11a98fe..772e428b282 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/array_of_array_of_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/array_of_array_of_model.py @@ -36,7 +36,8 @@ class ArrayOfArrayOfModel(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/array_of_array_of_number_only.py b/samples/openapi3/client/petstore/python/petstore_api/models/array_of_array_of_number_only.py index cfe36e3c276..d801b0cda6b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/array_of_array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/array_of_array_of_number_only.py @@ -36,7 +36,8 @@ class ArrayOfArrayOfNumberOnly(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/array_of_number_only.py b/samples/openapi3/client/petstore/python/petstore_api/models/array_of_number_only.py index 9ceaa87a87f..96ce0f69f2f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/array_of_number_only.py @@ -36,7 +36,8 @@ class ArrayOfNumberOnly(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/array_test.py b/samples/openapi3/client/petstore/python/petstore_api/models/array_test.py index 6d93cb5df85..cbb543e5cfe 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/array_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/array_test.py @@ -40,7 +40,8 @@ class ArrayTest(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/basque_pig.py b/samples/openapi3/client/petstore/python/petstore_api/models/basque_pig.py index e5c39c3772a..6d03a549ec0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/basque_pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/basque_pig.py @@ -37,7 +37,8 @@ class BasquePig(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/capitalization.py b/samples/openapi3/client/petstore/python/petstore_api/models/capitalization.py index 5783fd27be1..9f0eaab95ac 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/capitalization.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/capitalization.py @@ -41,7 +41,8 @@ class Capitalization(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/cat.py b/samples/openapi3/client/petstore/python/petstore_api/models/cat.py index b88c53316f0..931554c725a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/cat.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/cat.py @@ -36,7 +36,8 @@ class Cat(Animal): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/category.py b/samples/openapi3/client/petstore/python/petstore_api/models/category.py index 0d274dc21d8..38daeb84aa3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/category.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/category.py @@ -36,7 +36,8 @@ class Category(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/circular_reference_model.py b/samples/openapi3/client/petstore/python/petstore_api/models/circular_reference_model.py index 5d753c24037..d4171cbe4d2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/circular_reference_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/circular_reference_model.py @@ -36,7 +36,8 @@ class CircularReferenceModel(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/class_model.py b/samples/openapi3/client/petstore/python/petstore_api/models/class_model.py index ca6eb2eb718..601e5353de6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/class_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/class_model.py @@ -36,7 +36,8 @@ class ClassModel(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/client.py b/samples/openapi3/client/petstore/python/petstore_api/models/client.py index 338f1449071..7dd00901d94 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/client.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/client.py @@ -35,7 +35,8 @@ class Client(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/color.py b/samples/openapi3/client/petstore/python/petstore_api/models/color.py index 287542b1f82..638d942a34e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/color.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/color.py @@ -46,7 +46,8 @@ class Color(BaseModel): one_of_schemas: List[str] = Literal["List[int]", "str"] model_config = { - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/creature.py b/samples/openapi3/client/petstore/python/petstore_api/models/creature.py index bd8a30cf11d..60421bb1ae6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/creature.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/creature.py @@ -37,7 +37,8 @@ class Creature(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/creature_info.py b/samples/openapi3/client/petstore/python/petstore_api/models/creature_info.py index 3bf72fb6efb..33841c6305e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/creature_info.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/creature_info.py @@ -35,7 +35,8 @@ class CreatureInfo(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/danish_pig.py b/samples/openapi3/client/petstore/python/petstore_api/models/danish_pig.py index 9fb42378600..a89183607b3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/danish_pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/danish_pig.py @@ -37,7 +37,8 @@ class DanishPig(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/deprecated_object.py b/samples/openapi3/client/petstore/python/petstore_api/models/deprecated_object.py index 46a203850a3..f75a9da4490 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/deprecated_object.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/deprecated_object.py @@ -35,7 +35,8 @@ class DeprecatedObject(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/dog.py b/samples/openapi3/client/petstore/python/petstore_api/models/dog.py index 6e62219ba06..1b7b61dd178 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/dog.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/dog.py @@ -36,7 +36,8 @@ class Dog(Animal): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/dummy_model.py b/samples/openapi3/client/petstore/python/petstore_api/models/dummy_model.py index c54d487cadc..321eef90ce6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/dummy_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/dummy_model.py @@ -36,7 +36,8 @@ class DummyModel(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/enum_arrays.py b/samples/openapi3/client/petstore/python/petstore_api/models/enum_arrays.py index 5f6cf2a88a9..5ed06a50d00 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/enum_arrays.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/enum_arrays.py @@ -57,7 +57,8 @@ class EnumArrays(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/enum_test.py b/samples/openapi3/client/petstore/python/petstore_api/models/enum_test.py index 45b1c732fec..71bf3c4413e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/enum_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/enum_test.py @@ -95,7 +95,8 @@ class EnumTest(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/file.py b/samples/openapi3/client/petstore/python/petstore_api/models/file.py index 89997f70dfb..7d84e519006 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/file.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/file.py @@ -36,7 +36,8 @@ class File(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/file_schema_test_class.py b/samples/openapi3/client/petstore/python/petstore_api/models/file_schema_test_class.py index 2027ddd571b..d52e09861a6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/file_schema_test_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/file_schema_test_class.py @@ -37,7 +37,8 @@ class FileSchemaTestClass(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/first_ref.py b/samples/openapi3/client/petstore/python/petstore_api/models/first_ref.py index 3711a163b05..5542541c95f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/first_ref.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/first_ref.py @@ -36,7 +36,8 @@ class FirstRef(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/foo.py b/samples/openapi3/client/petstore/python/petstore_api/models/foo.py index 91cd993847c..9d8160318a0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/foo.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/foo.py @@ -35,7 +35,8 @@ class Foo(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/foo_get_default_response.py b/samples/openapi3/client/petstore/python/petstore_api/models/foo_get_default_response.py index 4100c4d4273..b242b602212 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/foo_get_default_response.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/foo_get_default_response.py @@ -36,7 +36,8 @@ class FooGetDefaultResponse(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/format_test.py b/samples/openapi3/client/petstore/python/petstore_api/models/format_test.py index b904825ab0a..12f3f5885d4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/format_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/format_test.py @@ -94,7 +94,8 @@ class FormatTest(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/has_only_read_only.py b/samples/openapi3/client/petstore/python/petstore_api/models/has_only_read_only.py index ebf6e7f3c76..d422c8a1733 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/has_only_read_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/has_only_read_only.py @@ -36,7 +36,8 @@ class HasOnlyReadOnly(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/health_check_result.py b/samples/openapi3/client/petstore/python/petstore_api/models/health_check_result.py index 8805d93f750..4b5c69f5f8a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/health_check_result.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/health_check_result.py @@ -36,7 +36,8 @@ class HealthCheckResult(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/inner_dict_with_property.py b/samples/openapi3/client/petstore/python/petstore_api/models/inner_dict_with_property.py index 636878e55cf..08fceba1ad3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/inner_dict_with_property.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/inner_dict_with_property.py @@ -36,7 +36,8 @@ class InnerDictWithProperty(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/int_or_string.py b/samples/openapi3/client/petstore/python/petstore_api/models/int_or_string.py index 2a0998a5b54..a7203af4ac5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/int_or_string.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/int_or_string.py @@ -44,7 +44,8 @@ class IntOrString(BaseModel): one_of_schemas: List[str] = Literal["int", "str"] model_config = { - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/list_class.py b/samples/openapi3/client/petstore/python/petstore_api/models/list_class.py index 17757c4ce9c..cb9f9cbd54d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/list_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/list_class.py @@ -36,7 +36,8 @@ class ListClass(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/map_of_array_of_model.py b/samples/openapi3/client/petstore/python/petstore_api/models/map_of_array_of_model.py index 0297d084005..4d5d5a875c2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/map_of_array_of_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/map_of_array_of_model.py @@ -37,7 +37,8 @@ class MapOfArrayOfModel(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/map_test.py b/samples/openapi3/client/petstore/python/petstore_api/models/map_test.py index 086394a4086..562647339a3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/map_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/map_test.py @@ -48,7 +48,8 @@ class MapTest(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/mixed_properties_and_additional_properties_class.py b/samples/openapi3/client/petstore/python/petstore_api/models/mixed_properties_and_additional_properties_class.py index c9f27d28d15..138501aef5f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/mixed_properties_and_additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/mixed_properties_and_additional_properties_class.py @@ -39,7 +39,8 @@ class MixedPropertiesAndAdditionalPropertiesClass(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/model200_response.py b/samples/openapi3/client/petstore/python/petstore_api/models/model200_response.py index 60b2775cc5e..db0d6c82d6e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/model200_response.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/model200_response.py @@ -37,7 +37,8 @@ class Model200Response(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/model_return.py b/samples/openapi3/client/petstore/python/petstore_api/models/model_return.py index 7cdb0c86f25..e5dda193334 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/model_return.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/model_return.py @@ -36,7 +36,8 @@ class ModelReturn(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/name.py b/samples/openapi3/client/petstore/python/petstore_api/models/name.py index e5e627228de..84340c8acd4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/name.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/name.py @@ -39,7 +39,8 @@ class Name(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/nullable_class.py b/samples/openapi3/client/petstore/python/petstore_api/models/nullable_class.py index 8cec60ec736..fc38db22ac0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/nullable_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/nullable_class.py @@ -47,7 +47,8 @@ class NullableClass(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/nullable_property.py b/samples/openapi3/client/petstore/python/petstore_api/models/nullable_property.py index 9d8a77f9d9f..f44ae9253bb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/nullable_property.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/nullable_property.py @@ -48,7 +48,8 @@ class NullableProperty(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/number_only.py b/samples/openapi3/client/petstore/python/petstore_api/models/number_only.py index fe310c72963..bf460b8efc5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/number_only.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/number_only.py @@ -36,7 +36,8 @@ class NumberOnly(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/object_to_test_additional_properties.py b/samples/openapi3/client/petstore/python/petstore_api/models/object_to_test_additional_properties.py index d9aa1d1dfe8..69efac6a9d6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/object_to_test_additional_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/object_to_test_additional_properties.py @@ -36,7 +36,8 @@ class ObjectToTestAdditionalProperties(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/object_with_deprecated_fields.py b/samples/openapi3/client/petstore/python/petstore_api/models/object_with_deprecated_fields.py index 49c329ecea5..6200d54f77f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/object_with_deprecated_fields.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/object_with_deprecated_fields.py @@ -40,7 +40,8 @@ class ObjectWithDeprecatedFields(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/one_of_enum_string.py b/samples/openapi3/client/petstore/python/petstore_api/models/one_of_enum_string.py index 614e0fd658f..b099c7bab57 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/one_of_enum_string.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/one_of_enum_string.py @@ -44,7 +44,8 @@ class OneOfEnumString(BaseModel): one_of_schemas: List[str] = Literal["EnumString1", "EnumString2"] model_config = { - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/order.py b/samples/openapi3/client/petstore/python/petstore_api/models/order.py index c65dc396d4d..2543b6c79e7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/order.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/order.py @@ -51,7 +51,8 @@ class Order(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/outer_composite.py b/samples/openapi3/client/petstore/python/petstore_api/models/outer_composite.py index cf24c951e28..452462bc9ca 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/outer_composite.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/outer_composite.py @@ -37,7 +37,8 @@ class OuterComposite(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/outer_object_with_enum_property.py b/samples/openapi3/client/petstore/python/petstore_api/models/outer_object_with_enum_property.py index f68b80d8642..f3aeef5e06c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/outer_object_with_enum_property.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/outer_object_with_enum_property.py @@ -38,7 +38,8 @@ class OuterObjectWithEnumProperty(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/parent.py b/samples/openapi3/client/petstore/python/petstore_api/models/parent.py index 0b6631cafda..8409e17062d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/parent.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/parent.py @@ -37,7 +37,8 @@ class Parent(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/parent_with_optional_dict.py b/samples/openapi3/client/petstore/python/petstore_api/models/parent_with_optional_dict.py index ac73b1bba6d..f02d65b5044 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/parent_with_optional_dict.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/parent_with_optional_dict.py @@ -37,7 +37,8 @@ class ParentWithOptionalDict(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/pet.py b/samples/openapi3/client/petstore/python/petstore_api/models/pet.py index e4c2a576b7f..a8da57a3527 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/pet.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/pet.py @@ -54,7 +54,8 @@ class Pet(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/pig.py b/samples/openapi3/client/petstore/python/petstore_api/models/pig.py index 8fef73ebb80..31a6571cbeb 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/pig.py @@ -44,7 +44,8 @@ class Pig(BaseModel): one_of_schemas: List[str] = Literal["BasquePig", "DanishPig"] model_config = { - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/property_name_collision.py b/samples/openapi3/client/petstore/python/petstore_api/models/property_name_collision.py index 22127e478c8..f3869d330ab 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/property_name_collision.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/property_name_collision.py @@ -38,7 +38,8 @@ class PropertyNameCollision(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/read_only_first.py b/samples/openapi3/client/petstore/python/petstore_api/models/read_only_first.py index c8dd658647e..76329755f6d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/read_only_first.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/read_only_first.py @@ -36,7 +36,8 @@ class ReadOnlyFirst(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/second_ref.py b/samples/openapi3/client/petstore/python/petstore_api/models/second_ref.py index 6dc55f9a623..e16421deca5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/second_ref.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/second_ref.py @@ -36,7 +36,8 @@ class SecondRef(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/self_reference_model.py b/samples/openapi3/client/petstore/python/petstore_api/models/self_reference_model.py index fda9fb712fb..9508408b5d3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/self_reference_model.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/self_reference_model.py @@ -36,7 +36,8 @@ class SelfReferenceModel(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/special_model_name.py b/samples/openapi3/client/petstore/python/petstore_api/models/special_model_name.py index 276a5a97291..ac2256a2543 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/special_model_name.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/special_model_name.py @@ -36,7 +36,8 @@ class SpecialModelName(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/special_name.py b/samples/openapi3/client/petstore/python/petstore_api/models/special_name.py index 5b4d2dca00c..540f75c8059 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/special_name.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/special_name.py @@ -49,7 +49,8 @@ class SpecialName(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/tag.py b/samples/openapi3/client/petstore/python/petstore_api/models/tag.py index a70d80306a0..d53d642ef7f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/tag.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/tag.py @@ -36,7 +36,8 @@ class Tag(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/test_inline_freeform_additional_properties_request.py b/samples/openapi3/client/petstore/python/petstore_api/models/test_inline_freeform_additional_properties_request.py index a9424649743..c8d66e9d638 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/test_inline_freeform_additional_properties_request.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/test_inline_freeform_additional_properties_request.py @@ -36,7 +36,8 @@ class TestInlineFreeformAdditionalPropertiesRequest(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/tiger.py b/samples/openapi3/client/petstore/python/petstore_api/models/tiger.py index 212019224c4..1bd884664e0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/tiger.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/tiger.py @@ -35,7 +35,8 @@ class Tiger(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/unnamed_dict_with_additional_model_list_properties.py b/samples/openapi3/client/petstore/python/petstore_api/models/unnamed_dict_with_additional_model_list_properties.py index 556d8838389..9c840503bca 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/unnamed_dict_with_additional_model_list_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/unnamed_dict_with_additional_model_list_properties.py @@ -37,7 +37,8 @@ class UnnamedDictWithAdditionalModelListProperties(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/unnamed_dict_with_additional_string_list_properties.py b/samples/openapi3/client/petstore/python/petstore_api/models/unnamed_dict_with_additional_string_list_properties.py index a36b3e9c589..469f2e4b2ce 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/unnamed_dict_with_additional_string_list_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/unnamed_dict_with_additional_string_list_properties.py @@ -36,7 +36,8 @@ class UnnamedDictWithAdditionalStringListProperties(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/user.py b/samples/openapi3/client/petstore/python/petstore_api/models/user.py index e88fd7eaadc..f5ad26584e9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/user.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/user.py @@ -43,7 +43,8 @@ class User(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), } diff --git a/samples/openapi3/client/petstore/python/petstore_api/models/with_nested_one_of.py b/samples/openapi3/client/petstore/python/petstore_api/models/with_nested_one_of.py index 574f8b64dc8..a1401068f56 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/models/with_nested_one_of.py +++ b/samples/openapi3/client/petstore/python/petstore_api/models/with_nested_one_of.py @@ -39,7 +39,8 @@ class WithNestedOneOf(BaseModel): model_config = { "populate_by_name": True, - "validate_assignment": True + "validate_assignment": True, + "protected_namespaces": (), }