Python Add Function To Class Dynamically Continuous Innovation