OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
calendar.calendar_agenda.CalendarAgendaController Class Reference

Build a bounded agenda from an injected read-only calendar provider. More...

Inheritance diagram for calendar.calendar_agenda.CalendarAgendaController:
calendar.calendar_query_if.CalendarQueryIf

Public Member Functions

tuple[AgendaDay,...] load (self, date first_day, int days=7)
 Return nonempty days, including ongoing and multi-day appointments.

Detailed Description

Build a bounded agenda from an injected read-only calendar provider.

Member Function Documentation

◆ load()

tuple[AgendaDay, ...] calendar.calendar_agenda.CalendarAgendaController.load ( self,
date first_day,
int days = 7 )

Return nonempty days, including ongoing and multi-day appointments.

Call from a background worker when the provider performs disk I/O. All-day dates use the normalized UTC date representation.

Reimplemented from calendar.calendar_query_if.CalendarQueryIf.


The documentation for this class was generated from the following file:
  • controllers/calendar/calendar_agenda.py