Skip to content

Commit 4504f0f

Browse files
committed
Switch to to_camel
1 parent 71152f2 commit 4504f0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/a2a/_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from pydantic import BaseModel, ConfigDict
2-
from pydantic.alias_generators import to_snake
2+
from pydantic.alias_generators import to_camel
33

44

55
class A2ABaseModel(BaseModel):
@@ -14,5 +14,5 @@ class A2ABaseModel(BaseModel):
1414
validate_by_name=True,
1515
validate_by_alias=True,
1616
serialize_by_alias=True,
17-
alias_generator=to_snake,
17+
alias_generator=to_camel,
1818
)

0 commit comments

Comments
 (0)