org.models.dashboard
¶
Module Contents¶
Classes¶
Base class used by all boardlets. Use as follows: |
|
A single boardlet fact. |
- 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
- abstract property title: str[source]¶
Returns the title of the boardlet, which is meant to be something meaningful, like the most important metric used in the boardlet.
- abstract property facts: Iterator[BoardletFact][source]¶
Yields facts. (
BoardletFact
instances)