Talk Python To Me cover image

#362: Hypermodern Python Projects

Talk Python To Me

Python Scripting - Is There a Type Checked Decorator?

2min Snip

00:00
Play full episode
The way i like to use type got is as a pi test pluggin. So you basically running your test sweet and if you have complete coat covers, that should give you a good chance catch any type. You can turn it on while your tests are running, and it will run time check everything. If you want to explicitly check in production, you can also use type gard for that. Is, i'd got the type checked decorator, whichyou probably en put that on stuff you want to make sure it's checked exacy. It's going to essentially pass the a t of your so the abstract stictry of you of python.

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