Talk Python To Me cover image

#376: Pydantic v2 - The Plan

Talk Python To Me

00:00

A Simple Alias of a String

Ase pidantic calls in rust are very powerful. They can be used to traverse a dictionary and get the sub object that feels missing. If, let's say ar as was was a strang so therefore a couldn't get bas second man er quux, whatever that is. And if we have a simple alias of a string, we don't need to worry about any of that crazy logic to recurse down. We just take the topnon element out of the top level dictionary. An then look for that. That ee, that's pretty powerful.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app