-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.schema()
fails
#10
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Probably because of the solution to #4, calling
.schema()
with most models fails with error message:The solution seems to be to load all the models, then call
.update_forward_refs()
for each, which takes a lot of time and memory.This is with Python 3.10, pydantic 1.10.4, pydantic-schemaorg 1.0.6.
The text was updated successfully, but these errors were encountered: