2 ms·
To expand on my particular use case for Azure CosmosDB, I have a Python web app built with FastAPI. I find it super convenient to dump Pydantic data models of o
by stevesimmons 5y ago
To expand on my particular use case for Azure CosmosDB, I have a Python web app built with FastAPI. I find it super convenient to dump Pydantic data models of our primary domain objects to JSON and save them into Cosmos, tagged with the model name.
Then on rereading the Cosmos records, my model registry automatically imports the required Pydantic model and reconstitutes the live Python object.