litellm/litellm-rust/crates/host-python/src
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
..
hooks/chain refactor(host-python): collect host failures in a thiserror Error enum (#46361) 2026-10-14 17:19:06 -07:00
argument.rs refactor(python-bridge): ship a signature base and read the resolved call (#45450) 2026-10-08 17:20:29 -07:00
binding.rs refactor(rust): share call lifecycle across route-owned inference (#43461) 2026-09-27 16:05:30 -07:00
caller.rs refactor(rust-bridge): generator-style execution protocol with stream step names (#46282) 2026-10-14 17:19:07 -07:00
conversion_cache.rs feat: improve trace ingestion and trace details (#43975) 2026-10-01 13:45:33 -07:00
depythonize.rs fix(rust): convert a dataclass struct variant payload like any other struct 2026-11-14 06:26:32 -08:00
driver.rs refactor(rust-bridge): return an unstarted Execution from native entrypoints and drive it in Python (#46299) 2026-10-14 17:50:44 -07:00
error.rs refactor(rust-bridge): return an unstarted Execution from native entrypoints and drive it in Python (#46299) 2026-10-14 17:50:44 -07:00
file_reader.rs refactor(host-python): collect host failures in a thiserror Error enum (#46361) 2026-10-14 17:19:06 -07:00
fork_gate.rs refactor(rust): drop a comment that repeats the reserve doc 2026-09-19 18:22:06 +00:00
gil.rs refactor(host-python): collect host failures in a thiserror Error enum (#46361) 2026-10-14 17:19:06 -07:00
handle.rs refactor(rust-bridge): return an unstarted Execution from native entrypoints and drive it in Python (#46299) 2026-10-14 17:50:44 -07:00
hooks.rs refactor(rust): centralize host execution and compose callbacks (#43515) 2026-09-28 19:20:27 +00:00
lib.rs fix(rust): read a dict subclass by its items when converting Python input 2026-11-14 01:43:42 -08:00
marshal.rs fix(rust): read a dict subclass by its items when converting Python input 2026-11-14 01:43:42 -08:00
native.rs refactor(host-python): collect host failures in a thiserror Error enum (#46361) 2026-10-14 17:19:06 -07:00
owned.rs refactor(rust): share call lifecycle across route-owned inference (#43461) 2026-09-27 16:05:30 -07:00
runtime.rs refactor(host-python): collect host failures in a thiserror Error enum (#46361) 2026-10-14 17:19:06 -07:00
services.rs feat(cache): select Rust caching through explicit cache objects (#43601) 2026-09-29 00:01:44 +00:00