Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
Signed-off-by: Keming <[email protected]>
  • Loading branch information
kemingy committed Oct 31, 2024
1 parent 67c2684 commit 175aa2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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",
]
Expand Down
2 changes: 1 addition & 1 deletion spectree/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 175aa2d

Please sign in to comment.