We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5659f0e commit 5ffd428Copy full SHA for 5ffd428
src/a2a/pydantic_base.py
@@ -1,12 +1,13 @@
1
"""A2A Pydantic Base Model with shared configuration."""
2
3
from pydantic import BaseModel, ConfigDict
4
+from pydantic.alias_generators import to_camel
5
6
7
class A2ABaseModel(BaseModel):
8
"""Base model for all A2A types with shared configuration."""
9
10
model_config = ConfigDict(
11
+ alias_generator=to_camel,
12
populate_by_name=True,
- arbitrary_types_allowed=True,
13
)
0 commit comments