We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f735387 + 01208c0 commit b8f34c5Copy full SHA for b8f34c5
2 files changed
pyproject.toml
@@ -9,7 +9,7 @@ dependencies = [
9
"httpx>=0.27.0",
10
"pyyaml>=6.0",
11
"typing-extensions>=4.0.0",
12
- "pydantic>=2.0.0",
+ "pydantic>=2.11.0",
13
]
14
15
[project.optional-dependencies]
src/bloomy/models.py
@@ -52,7 +52,8 @@ class BloomyBaseModel(BaseModel):
52
"""Base model with common configuration for all Bloomy models."""
53
54
model_config = ConfigDict(
55
- populate_by_name=True,
+ validate_by_name=True,
56
+ validate_by_alias=True,
57
use_enum_values=True,
58
validate_assignment=True,
59
arbitrary_types_allowed=True,
0 commit comments