Skip to content

Commit 712f206

Browse files
authored
Update _base.py
fix: ruff linting errors
1 parent ec3a719 commit 712f206

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/a2a/_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from typing import Any
2+
23
from pydantic import BaseModel, ConfigDict
34
from pydantic.alias_generators import to_camel
45

@@ -41,7 +42,7 @@ def model_dump(
4142
**kwargs
4243
) -> dict[str, Any]:
4344

44-
if not 'by_alias' in kwargs:
45+
if 'by_alias' not in kwargs:
4546
kwargs['by_alias'] = True
4647

4748
return super().model_dump(**kwargs)

0 commit comments

Comments
 (0)