Client library for the DBS3 (Data Bookkeeping Service) API, used in CMS (Compact Muon Solenoid) data management. Version 4.0.19 interacts with DBS3 server instances to query dataset, file, and block metadata. Release cadence is irregular.
pip install dbs3-clientVerified import paths — ran on the pinned version, not inferred.
Creates a DbsApi instance and fetches datasets matching a pattern.
Transition to dbs-client and update imports to dbs.apis.dbsClient as this remains the same.
Use full URL with '/dbs/prod/global/DBSReader' as in quickstart.
Check if the returned list is empty before accessing elements.
Run 'pip install dbs3-client' or 'pip install dbs-client' and ensure the environment is correct.
Verify URL, authentication, and method signature. Use 'api.listDatasets(dataset=...)' with correct key and value.