Pydantic allows you to compose these pidantic models in this like hierarchy. You can have list of other pidantic models within a pidantic model, which is exactly the same modelling you get with document data bases like monga or sequa alchemy. In your example, right at the bottom of the getup page, you have a category, which has the name and description, and you have a product that has its own name and description and then a price in it. And here you just say, coal and category, right? Ye, tochly correct. Which will jest crat medt document, yes. O the way that you model, this is why p

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode