def make_mocked_method():


    class Simulation:

        def mocked_method(self):
            print(type(self))
print(self.__dict__)
print(self.__hidden)
return Simulation.mocked_method
Access private variables in injected method - python