June 2017
Beginner to intermediate
274 pages
6h 49m
English
If you find yourselves using a tool that assumes annotations are type declarations but you want to use them for some other purpose, use the standard @no_type_check decorator to exempt your function from such processing, as shown here:

Normally, this isn't needed because most tools that use annotations have a way of recognizing the ones meant for them. The decorator is for protecting corner cases where things are ambiguous.
Read now
Unlock full access