
#349: Meet Beanie: A MongoDB ODM + Pydantic
Talk Python To Me
00:00
Using Pydantic as a Response Model in Mongy D B
Soa and beny uses the same shim as pidantic base models. Document is a main class of biny and itis, inherited from pidantic base model. Can et your own partsor, like, your own validation step, and en ititwill convert this heru like from string totonumber todate. For example, in fasteper if you're familiar with yes, it uses pidantic Base models and the models of a.
Transcript
Play full episode