We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dd5ea8 commit 4f5674bCopy full SHA for 4f5674b
1 file changed
src/a2a/_base.py
@@ -35,7 +35,8 @@ class A2ABaseModel(BaseModel):
35
36
model_config = ConfigDict(
37
# SEE: https://docs.pydantic.dev/latest/api/config/#pydantic.config.ConfigDict.populate_by_name
38
- populate_by_name=True, # Recommended over validate_by_name/validate_by_alias
+ validate_by_name=True,
39
+ validate_by_alias=True,
40
serialize_by_alias=True,
41
alias_generator=to_camel_custom,
42
)
0 commit comments