Talk Python To Me cover image

#385: Higher level Python asyncio with AnyIO

Talk Python To Me

00:00

Using the Type Checked Decorator on a Function in Python?

The best way would be to use the import hook. There's an import hook that will automatically add these decorators while during the import. So you don't have to alter your code at all. But there are some open issues with that import hook, like somebody reported that this import hook is installed too late that the modules in question were already imported. That's something I have yet to fix or find a workaround for.

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