-
-
Notifications
You must be signed in to change notification settings - Fork 419
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Is your feature request related to a problem? Please describe.
Given a json schema that contains { "type": "object" }, it currently generates dict[str, Any], similarly for { "type": "array" }. This makes the generated TypedDict not as type safe.
Describe the solution you'd like
A flag to generate dict[str, object] or `list[object]
Describe alternatives you've considered
Post-processing and custom jinja2 template (using replace) are sledgehammer solutions and very hard to replace perfectly.
Additional context
coderabbitai
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers