Source code for bonobo.execution.contexts.plugin
from bonobo.execution.contexts.base import BaseContext
[docs]class PluginExecutionContext(BaseContext):
@property
def dispatcher(self):
return self.parent.dispatcher
[docs] def register(self):
return self.wrapped.register(self.dispatcher)
[docs] def unregister(self):
return self.wrapped.unregister(self.dispatcher)