Commit 47cf55b
committed
fix: handle by_alias=None for Pydantic 2.10+ compatibility
Pydantic 2.10+ (pydantic-core 2.27+) rejects None for the by_alias
parameter in model_dump(), raising TypeError. Coerce None to False
to match the v1 fallback path behavior.1 parent 08eddb5 commit 47cf55b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
0 commit comments