From 175aa2d52820072db3c667ec756ced1e30b5f541 Mon Sep 17 00:00:00 2001 From: Keming Date: Thu, 31 Oct 2024 10:45:07 +0800 Subject: [PATCH] bump version Signed-off-by: Keming --- pyproject.toml | 3 ++- spectree/models.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6587b17..7d37b6e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "spectree" -version = "1.2.10" +version = "1.2.11" dynamic = [] description = "generate OpenAPI document and validate request&response with Python annotations." readme = "README.md" @@ -19,6 +19,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries :: Python Modules", ] diff --git a/spectree/models.py b/spectree/models.py index 253bba7..4b76ea9 100644 --- a/spectree/models.py +++ b/spectree/models.py @@ -125,7 +125,7 @@ def check_type_required_fields(cls, values: dict): class Config: validate_assignment = True - allow_population_by_field_name=True + allow_population_by_field_name = True class SecurityScheme(BaseModel):