DeferredMethod¶
-
class
glue.utils.misc.DeferredMethod(method)[source]¶ Bases:
objectThis class stubs out a method, and provides a callable interface that logs its calls. These can later be actually executed on the original (non-stubbed) method by calling executed_deferred_calls
Attributes Summary
Methods Summary
__call__(self, instance, \*a, \*\*k)Call self as a function.
execute_deferred_calls(self)Attributes Documentation
Methods Documentation