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:
AsyncClosingUnitProviderfor a version more than one sub-provider recognizes (M365USER_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
Nodehanded out has itsrefprefixed with the sub-provider’s tag and itshandlewrapped 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)¶