noc.lib.app.decorators.base

Module Contents

class noc.lib.app.decorators.base.BaseAppDecorator(cls)

Bases: object

Basic application decorator to inject new methods via .add_view

add_view(self, *args, **kwargs)
add_method(self, name, method)
contribute_to_class(self)

Override for specific behavior :return:

set_app(self, app)