org.models.dashboard
Classes
Base class used by all boardlets. |
|
A single boardlet fact. |
Module Contents
- class org.models.dashboard.Boardlet(name: str, order: tuple[int, int], request: onegov.org.request.OrgRequest)[source]
Base class used by all boardlets.
Use as follows:
from onegov.app import App @App.boardlet(name='foo', order=(1, 1)) class MyBoardlet(Boardlet): pass
- property title: str[source]
- Abstractmethod:
Returns the title of the boardlet, which is meant to be something meaningful, like the most important metric used in the boardlet.
- property facts: Iterator[BoardletFact][source]
- Abstractmethod:
Yields facts. (
BoardletFact
instances)