pyannotate is a tool that uses runtime types to suggest type annotations to use. Test runners such as pytest can be used to generate the types.
Note
This post is a thought. Itβs a short note that I make about someone elseβs content online #thoughts