Talk Python To Me cover image

#376: Pydantic v2 - The Plan

Talk Python To Me

00:00

The New Way to Type Optional Functions

typing has come a massively long way since some one settled on the word optional. The most exciting theing, probably h one of the things i most stoked for in a pedantic vetoo, is these rap validators. They take a handler to a function, and then they call the power here is obposive. It gives us like, loads of flexibility to do, to do more powerful stuff. Iht used to have to say, from typing import capital l list to return a lor list, but it'd be a capital l list. And now there psychi know what lower case list works to right on.

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