File¶
- mod
File
operation file
- class DIRAC.RequestManagementSystem.Client.File.File(fromDict=None)¶
Bases:
object
A bag object holding Operation file attributes.
- Parameters
_parent (Operation.Operation) – reference to parent Operation
__data__ (dict) – attrs dict
It is managed by SQLAlchemy, so the OperationID, FileID should never be set by hand (except when constructed from JSON of course…) In principle, the _parent attribute could be totally managed by SQLAlchemy. However, it is set only when inserted into the DB, this is why I manually set it in the Operation
Warning
You cannot add a File object to multiple Operations. They are different entry in the DB, so they must be different objects
- Attempt¶
- Checksum¶
- property ChecksumType¶
checksum type prop
- Error¶
- FileID¶
- property GUID¶
GUID prop
- property LFN¶
LFN prop
- OperationID¶
- PFN¶
- Size¶
- property Status¶
status prop
- toJSON()¶
Returns the json formated string that describes the File