rattail.board

Board Handler

class rattail.board.BoardHandler(*args, **kwargs)[source]

Base class and default implementation for board handlers.

begin_board_membership(person, start_date, **kwargs)[source]

Begin board membership for the given person.

end_board_membership(person, end_date, **kwargs)[source]

End board membership for the given person.

why_not_begin_board_membership(person)[source]

Inspect the given person and if they should not be made a current board member for any reason, return that reason as text. If it’s okay for the person to be made a board member, returns None.

why_not_end_board_membership(person)[source]

Inspect the given person and if their current board membership should not be ended for any reason, return that reason as text. If it’s okay for the person to stop being a board member, returns None.

rattail.board.get_board_handler(config, **kwargs)[source]

Create and return the configured BoardHandler instance.