How to automatically type annotate your Python code? - #11

Pubblicato il: 15 luglio 2021
sul canale di: Lambert Labs
1,155
12

Welcome to Learning at Lambert Labs session #11. This week, our founder George Lambert, takes us through the runtime typing checking with MonkeyType (made by Instagram) and how you can use it to make your code more readable.

In Today's Learning Session:
History of dynamic and static typing in Python
Argument names, docstrings and the typing modules
Problem: old legacy code is hard to type
Solution: use MonkeyType to generate typing stubs or even annotate your code.
Example usage and demo
Q&A from our developers - how does MonkeyType deal with more generic or abstract types?

0:00 Introduction to MonkeyType
0:43 Current problem
1:34 Brief history of Python type annotations
9:20 Solution: MonkeyType
10:06 Demo
17:21 How we will use it going forward
19:06 Q&A from our developers

🔊 Subscribe to our channel for weekly learning sessions!
   / @lambertlabs  


🔗 Lambert Labs Links 🔗 :
🌎 Website: https://lambertlabs.com/​​
📱 Twitter:   / lambertlabs​  
📝 LinkedIn:   / lambertlabs  
📂 GitHub: https://github.com/lambertlabs​​

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡

⭐ Tags ⭐
Python
Instagram
Typing annotations
Static typing
Clean code


In questa pagina del sito puoi guardare il video online How to automatically type annotate your Python code? - #11 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Lambert Labs 15 luglio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,155 volte e gli è piaciuto 12 spettatori. Buona visione!