Talk Python To Me cover image

#313: Automate your data exchange with PyDantic

Talk Python To Me

How to Make Round Trip Submission Work With Pedantic?

2min Snip

00:00
Play full episode
There's an issue of alpha v2 to return like the wrong value always in the context of each error. But at the moment, it's generally not available and we will add it in v2. What I've done in in react is obviously you've still got the values that were ended on the form. You just add the errors to those fields and set the whatever it is invalid header So then I some redYeah, exactly so if it was a friend and framework like reactor view I can see this working perfectly as you try to submit it for a form. If you got a round trip it with like a flask Pure mid or Django form or something that doesn't have it then the

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