method_list = [func for func in dir(Foo) if callable(getattr(Foo, func)) and not func.startswith("__")]