mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
An externally tagged struct variant read its payload with items(), so a
dataclass there failed even though the same object converts as a plain
struct field. It now goes through deserialize_map like the tuple and
newtype variants, so the dict, Mapping and dataclass rules hold at every
depth
A dict or Mapping payload converts as before, and any other object fails
with the same error pythonize gives
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| AGENTS.md | ||
| Cargo.toml | ||