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

Publicado em: 15 Julho 2021
no canal de: 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


Nesta página do site você pode assistir ao vídeo on-line How to automatically type annotate your Python code? - #11 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Lambert Labs 15 Julho 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,155 vezes e gostou 12 espectadores. Boa visualização!