synology_apm_repo.sdk.units.saas.calendar module¶
open_calendar_provider: M365/GWS Calendar via calendar_table (the
calendar list) and calendar_event_table (its events), two separately
indexed service DBs.
Tree: My/Other Calendars (
CategorizedGroupTree, split by_is_other_calendar) → calendar → event (NamedGroupFlatTree).Content: each event exports as
.ics, built bybuild_icsfrom its META object’sclient_metadataalone; recurring series export theirRRULEand detached occurrences theirRECURRENCE-ID.A calendar’s displayed name may differ from
calendar_name(_group_name_override).
- synology_apm_repo.sdk.units.saas.calendar.CALENDAR_CONFIG = SaasWorkloadConfig(root_name='Calendars', leaf_kind=<UnitKind.CALENDAR_EVENT: 'calendar_event'>, tables=('calendar_table', 'calendar_event_table'), tree_factory=<function _build_tree>, content=<function _content>, object_names={'calendar_table': ('calendar_db', 'group_calendar_db'), 'calendar_event_table': ('calendar_event_db', 'group_calendar_event_db')}, leaf_extras=<function _event_extras>, group_extras=<function _group_extras>, leaf_size=<function SaasWorkloadConfig.<lambda>>, leaf_export_name=<function _export_name>)¶
SaasWorkloadConfigbehindopen_calendar_provider.
- async synology_apm_repo.sdk.units.saas.calendar.open_calendar_provider(repo, version, saas_streams, *, shared=None)¶
Async factory over
CALENDAR_CONFIG(seemake_saas_provider).