We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running the Jupyter notebooks, I noticed that VRS objects are being returned with what looks like an ENUM entry for the object type field:
Instead, we expect these to be specified by enum.value:
The text was updated successfully, but these errors were encountered:
Is there a need to build this behavior into model_dump rather than reserving model_dump_json (https://docs.pydantic.dev/latest/concepts/serialization/#modelmodel_dump_json) for this? edit: or rather, use mode="json" as an arg
mode="json"
Sorry, something went wrong.
I'm not sure about that–I think this has to do with what gets populated in the model, not how it is serialized.
fix: ensure Entity objects return type as str
4aab91b
close #433
03425d3
korikuzma
Successfully merging a pull request may close this issue.
When running the Jupyter notebooks, I noticed that VRS objects are being returned with what looks like an ENUM entry for the object type field:
Instead, we expect these to be specified by enum.value:
The text was updated successfully, but these errors were encountered: