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 ec3a719 commit 712f206Copy full SHA for 712f206
src/a2a/_base.py
@@ -1,4 +1,5 @@
1
from typing import Any
2
+
3
from pydantic import BaseModel, ConfigDict
4
from pydantic.alias_generators import to_camel
5
@@ -41,7 +42,7 @@ def model_dump(
41
42
**kwargs
43
) -> dict[str, Any]:
44
- if not 'by_alias' in kwargs:
45
+ if 'by_alias' not in kwargs:
46
kwargs['by_alias'] = True
47
48
return super().model_dump(**kwargs)
0 commit comments