Closed ahwagner closed 4 months ago
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
I'm not sure about that–I think this has to do with what gets populated in the model, not how it is serialized.
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: