Commit d24cb56
Fix: Correct pydantic version range (bytes fields are broken with pydantic<=2.8).
The ser_json_bytes, val_json_bytes we rely on isn't introduced till 2.9.
In old versions B64 encoded bytes fields are getting ascii decoded.
- Users will see different formats of bytes depending on pydantic version.
- The api fails when you send back badly coded bytes (inline_blob, thought_signature).
It's possible to fix it to mostly work with older versions, but definitely not trivial to get **identical** behavior.
PiperOrigin-RevId: 8255910371 parent 3ca4cf6 commit d24cb56
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments