litellm/litellm-rust/crates/host-python
mateo-berri cb8e692498 fix(rust): convert a dataclass struct variant payload like any other struct
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 a7ca5fdf31)
2026-11-14 06:26:32 -08:00
..
src fix(rust): convert a dataclass struct variant payload like any other struct 2026-11-14 06:26:32 -08:00
tests refactor(rust-bridge): return an unstarted Execution from native entrypoints and drive it in Python (#46299) 2026-10-14 17:50:44 -07:00
AGENTS.md fix(rust): read a dict subclass by its items when converting Python input 2026-11-14 01:43:42 -08:00
Cargo.toml refactor(host-python): run the Python driver as one async body (#46235) 2026-10-14 17:19:06 -07:00