synology_apm_repo.sdk.units.saas.composite_provider module

CompositeSaasProvider: several already-built SaaS sub-providers behind one tree, built by units/dispatch.py’s saas_provider_for.

class synology_apm_repo.sdk.units.saas.composite_provider.CompositeSaasProvider(repo, version, sub_providers)

Bases: AsyncClosing

UnitProvider for a version more than one sub-provider recognizes (M365 USER_EXCHANGE/GROUP_EXCHANGE: Mail, Contacts, Calendars and Archive Mail side by side). A synthetic "Exchange" root lists each sub-provider’s root; deeper calls route to the owning sub-provider.

Every Node handed out has its ref prefixed with the sub-provider’s tag and its handle wrapped as _Tagged, unwrapped again before the node reaches that sub-provider, so a ref round-tripped through a string still resolves. Closing closes every sub-provider.

async close()
root()
async children(node, offset=0, limit=None)
async unit(node)