Pydantic as a Backward Compatibility Layer

from blog Roman Imankulov, | ↗ original
Data structures evolve with time. Say you have data storage with person objects. I assume the storage is schema-less. Maybe it’s your primary storage in MongoDB, a Redis cache, or a log record in ElasticSearch. { "name": "Guido Van Rossum", "email": "guido@python.org" } At some point, you decide to store a profession alongside each person. New...