Commits
Click on a commit to change the comparison rangefix: handle pydantic generic models in JSON serializer
When using parameterized Pydantic generic models like `APIResult[str]`,
the JSON serializer was storing class names with brackets (e.g.,
`module.APIResult[str]`) which cannot be imported by Python's import
system, causing deserialization to fail.
This fix extracts the origin class from Pydantic's generic metadata,
ensuring the serialized class name is importable (e.g., `module.APIResult`).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> test: add coverage for non-Pydantic generic dataclass serialization
Ensures the Pydantic generic fix doesn't break standard Generic dataclasses.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>