You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PR will not solve the issue, but it is related in the sense that there are not nested type when declaring logicalTypes. Now it is possible to achieve optional logicalTypes defined type twice
Describe the bug
A clear and concise description of what the bug is.
Parsing of
default_repr
failing inBaseGenerator.get_field_default
and unable generate a model to with the following schema:To Reproduce
Steps to reproduce the behavior
With the schema provided above, running the code snippet results in a TypeError.
Expected behavior
A clear and concise description of what you expected to happen.
ModelGenerator.render(model_type=ModelType.PYDANTIC)
should successfully parse the provided schema into a DataModel that would look like:The text was updated successfully, but these errors were encountered: