Commit 7906a2c
fix: resolve generic types in _python_type_to_json
Use origin type for type_map lookup so list[str] -> "array",
dict[str, int] -> "object", etc. instead of falling back to "string".
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2998414 commit 7906a2c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| |||
0 commit comments