Skip to content

Commit 5ffd428

Browse files
committed
Edit generator to use alias_generator to_camel
1 parent 5659f0e commit 5ffd428

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/a2a/pydantic_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
"""A2A Pydantic Base Model with shared configuration."""
22

33
from pydantic import BaseModel, ConfigDict
4+
from pydantic.alias_generators import to_camel
45

56

67
class A2ABaseModel(BaseModel):
78
"""Base model for all A2A types with shared configuration."""
89

910
model_config = ConfigDict(
11+
alias_generator=to_camel,
1012
populate_by_name=True,
11-
arbitrary_types_allowed=True,
1213
)

0 commit comments

Comments
 (0)