Talk Python To Me cover image

#316: Flask 2.0

Talk Python To Me

Is There a Way to Validate Incoming Requests With PyDantic?

2min Snip

00:00
Play full episode
I'm really enjoying using PyDantic to validate incoming requests, like just as a data class set up. I don't have a good answer for this because I've been just dealing with Flask itself for so long and getting those ready that I haven't really been exploring new stuff for myself. There's a secrets capability built right into PyDantic that works with like dot eenv files and all sorts of stuff that's got this whole mechanism. We're working on an open source library called auto-invent which takes a data model, like such as your SQL Open models and produces an entire GraphQL API from the front end. It's totally unusable right now because it's not

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