mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-12-24 14:17:45 -06:00
chore: Migrate json field names to camelCase (3/n)
PiperOrigin-RevId: 758394880
This commit is contained in:
committed by
Copybara-Service
parent
ff9de71869
commit
4def3f1bd3
@@ -14,6 +14,7 @@
|
||||
|
||||
from typing import Any
|
||||
|
||||
from pydantic import alias_generators
|
||||
from pydantic import BaseModel
|
||||
from pydantic import ConfigDict
|
||||
from pydantic import Field
|
||||
@@ -37,6 +38,8 @@ class Session(BaseModel):
|
||||
model_config = ConfigDict(
|
||||
extra='forbid',
|
||||
arbitrary_types_allowed=True,
|
||||
alias_generator=alias_generators.to_camel,
|
||||
populate_by_name=True,
|
||||
)
|
||||
"""The pydantic model config."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user