Source code for aj.plugins.dashboard.widget

from jadi import interface

[docs]@interface class Widget(): """ Base interface for dashboard widgets. """ id = None name = None """Display name""" def __init__(self, context): self.context = context
[docs] def get_value(self, config): """ Override this to return the widget value for the given config dict. """ raise NotImplementedError

Comments

comments powered by Disqus