Skip to content

Commit b8f34c5

Browse files
committed
chore: merge main into PR 22
2 parents f735387 + 01208c0 commit b8f34c5

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies = [
99
"httpx>=0.27.0",
1010
"pyyaml>=6.0",
1111
"typing-extensions>=4.0.0",
12-
"pydantic>=2.0.0",
12+
"pydantic>=2.11.0",
1313
]
1414

1515
[project.optional-dependencies]

src/bloomy/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ class BloomyBaseModel(BaseModel):
5252
"""Base model with common configuration for all Bloomy models."""
5353

5454
model_config = ConfigDict(
55-
populate_by_name=True,
55+
validate_by_name=True,
56+
validate_by_alias=True,
5657
use_enum_values=True,
5758
validate_assignment=True,
5859
arbitrary_types_allowed=True,

0 commit comments

Comments
 (0)