Ruby Class Variable Inheritance In Python With Types