feriennet.boardlets
Classes
Base class used by all boardlets. |
|
Base class used by all boardlets. |
|
Base class used by all boardlets. |
|
Base class used by all boardlets. |
|
Base class used by all boardlets. |
|
Base class used by all boardlets. |
|
Base class used by all boardlets. |
Module Contents
- class feriennet.boardlets.FeriennetBoardlet(name: str, order: tuple[int, int], request: onegov.org.request.OrgRequest)[source]
Bases:
onegov.org.models.Boardlet
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 period: PeriodMeta | None[source]
- class feriennet.boardlets.PeriodBoardlet(name: str, order: tuple[int, int], request: onegov.org.request.OrgRequest)[source]
Bases:
FeriennetBoardlet
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]
Returns the title of the boardlet, which is meant to be something meaningful, like the most important metric used in the boardlet.
- property state: Literal['success', 'failure'][source]
Yields one of three states:
‘success’
‘warning’
‘failure’
- property facts: Iterator[BoardletFact][source]
Yields facts. (
BoardletFact
instances)
- class feriennet.boardlets.ActivitiesBoardlet(name: str, order: tuple[int, int], request: onegov.org.request.OrgRequest)[source]
Bases:
FeriennetBoardlet
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]
Returns the title of the boardlet, which is meant to be something meaningful, like the most important metric used in the boardlet.
- property state: Literal['success', 'warning', 'failure'][source]
Yields one of three states:
‘success’
‘warning’
‘failure’
- property facts: Iterator[BoardletFact][source]
Yields facts. (
BoardletFact
instances)
- class feriennet.boardlets.BookingsBoardlet(name: str, order: tuple[int, int], request: onegov.org.request.OrgRequest)[source]
Bases:
FeriennetBoardlet
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]
Returns the title of the boardlet, which is meant to be something meaningful, like the most important metric used in the boardlet.
- property state: Literal['success', 'warning', 'failure'][source]
Yields one of three states:
‘success’
‘warning’
‘failure’
- property facts: Iterator[BoardletFact][source]
Yields facts. (
BoardletFact
instances)
- class feriennet.boardlets.AttendeesBoardlet(name: str, order: tuple[int, int], request: onegov.org.request.OrgRequest)[source]
Bases:
FeriennetBoardlet
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]
Returns the title of the boardlet, which is meant to be something meaningful, like the most important metric used in the boardlet.
- property state: Literal['success', 'warning', 'failure'][source]
Yields one of three states:
‘success’
‘warning’
‘failure’
- property facts: Iterator[BoardletFact][source]
Yields facts. (
BoardletFact
instances)
- class feriennet.boardlets.MatchingBoardlet(name: str, order: tuple[int, int], request: onegov.org.request.OrgRequest)[source]
Bases:
FeriennetBoardlet
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]
Returns the title of the boardlet, which is meant to be something meaningful, like the most important metric used in the boardlet.
- property state: Literal['success', 'warning', 'failure'][source]
Yields one of three states:
‘success’
‘warning’
‘failure’
- property facts: Iterator[BoardletFact][source]
Yields facts. (
BoardletFact
instances)
- class feriennet.boardlets.BillingPortlet(name: str, order: tuple[int, int], request: onegov.org.request.OrgRequest)[source]
Bases:
FeriennetBoardlet
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]
Returns the title of the boardlet, which is meant to be something meaningful, like the most important metric used in the boardlet.
- property state: Literal['success', 'warning', 'failure'][source]
Yields one of three states:
‘success’
‘warning’
‘failure’
- property facts: Iterator[BoardletFact][source]
Yields facts. (
BoardletFact
instances)