sadrive.commands.db module#
Defines the update_sas CLI command to synchronize service account storage usage with the local database.
This command: - Scans the local service accounts directory for JSON credentials. - Ensures any new accounts are added to the database. - Fetches actual used storage for each account via the Drive API. - Updates the database sizes accordingly (sync mode).
Uses a ThreadPoolExecutor for concurrent API calls.