synology_apm_repo.sdk.units.saas.drive module¶
open_drive_provider: OneDrive (M365) / Google Drive (GWS) via
item_table, built as a SaasWorkloadProvider + RecursiveTree
config.
Both platforms share one schema and one provider. content_object_id
points directly at the file’s bytes, with no application-layer wrapper.
- synology_apm_repo.sdk.units.saas.drive.DRIVE_CONFIG = SaasWorkloadConfig(root_name='/', leaf_kind=<UnitKind.DRIVE_ITEM: 'drive_item'>, tables=('item_table',), tree_factory=<function _build_tree>, content=<function _content>, object_names={'item_table': ('drive_db',)}, leaf_extras=<function _extras>, group_extras=<function SaasWorkloadConfig.<lambda>>, leaf_size=<function _item_size>, leaf_export_name=None)¶
SaasWorkloadConfigbehindopen_drive_provider— one schema shared by OneDrive and Google Drive.
- async synology_apm_repo.sdk.units.saas.drive.open_drive_provider(repo, version, saas_streams, *, shared=None)¶
Async factory over
DRIVE_CONFIG(seemake_saas_provider), building aRecursiveTreeSaasProviderfor Drive’s depth-independentitem_idrefs.