Does it support dynamic model generation? #1160
Replies: 4 comments 10 replies
-
|
@berislavlopac |
Beta Was this translation helpful? Give feedback.
-
|
@berislavlopac good day. Have you created a PR or something similar in this direction? |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the feature request — this has now been released! |
Beta Was this translation helpful? Give feedback.
-
|
@koxudaxi hey! I think I vaguely remember that I was searching for JsonSchema -> Pydantic models. So does it mean it's supported now? If yes, could you please link related docs/pr/issue? Thank you very much for implementing this feature! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Looking at the documentation, this project generates Python code as text, which can be saved into output files to be used/imported as modules.
With Python's dynamic capabilities, it is quite easy to -- instead of textual code -- generate actual model classes on the fly. Is that supported as a use case at the moment?
Beta Was this translation helpful? Give feedback.
All reactions