-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I am using the DBSApi from the python client but I see no change on DAS when sending a list of files as logical_file_name
parameter. If I call the same function but with an individual file instead of a list it works fine.
from dbs.apis.dbsClient import DbsApi
TEST_url="https://cmsweb-testbed.cern.ch/dbs2go-writer"
PROD_url="https://cmsweb.cern.ch/dbs/prod/global/DBSWriter"
dbsApi = DbsApi(url=PROD_url)
files = ['/store/data/Run2023C/AlCaLumiPixelsCountsPrompt/ALCARECO/AlCaPCCRandom-PromptReco-v2/000/367/622/00000/cdebecd9-01b0-4650-88f3-47da0088d3b3.root','/store/data/Run2023C/AlCaLumiPixelsCountsPrompt/ALCARECO/AlCaPCCZeroBias-PromptReco-v2/000/367/622/00000/e456c767-925a-4fb6-8ecc-82a08b294c51.root']
result = dbsApi.updateFileStatus(logical_file_name=files, is_file_valid=0, lost=0)
Metadata
Metadata
Assignees
Labels
No labels