add type hints to base.py
#1302
+457
−185
Draft
base.py
#1302