FileReport
FileReport module defines the FileReport class, to report file status to the transformation DB
- class DIRAC.TransformationSystem.Client.FileReport.FileReport(server='Transformation/TransformationManager')
Bases:
object
A stateful object for reporting to TransformationDB
- __init__(server='Transformation/TransformationManager')
c’tor
self.transClient is a TransformationClient object
- commit()
Commit pending file status update records
- generateForwardDISET()
Commit the accumulated records and generate request eventually
- getFiles()
Get the statuses of the files already accumulated in the FileReport object
- setCommonStatus(status)
Set common status for all files in the internal cache
- setFileStatus(transformation, lfn, status, sendFlag=False)
Set file status in the context of the given transformation