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