DeferredMethod¶
-
class
glue.utils.misc.
DeferredMethod
(method)[source]¶ Bases:
object
This 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
original_method
Methods Summary
__call__
(instance, *a, **k)execute_deferred_calls
()Attributes Documentation
-
original_method
¶
Methods Documentation
-