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

Показать описание
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!
🔗 Lambert Labs Links 🔗 :
⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡
⭐ Tags ⭐
- Python
- Instagram
- Typing annotations
- Static typing
- Clean code
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!
🔗 Lambert Labs Links 🔗 :
⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡
⭐ Tags ⭐
- Python
- Typing annotations
- Static typing
- Clean code