
#349: Meet Beanie: A MongoDB ODM + Pydantic
Talk Python To Me
00:00
Using a Model Loader to Model Documents
Beany also supports find queries asive segregations. Seggregations, you have to set up what huma of the result would be. You cannot pass prepro output model. And in that case, it will return dictionaries. Mario out nthe audience says, i created a model loader. It's a utility function that pulls dot separated pass and then passes it to the document models. Works really well.
Transcript
Play full episode