File

mod:File

operation file

class DIRAC.RequestManagementSystem.Client.File.File(fromDict=None)

Bases: object

A bag object holding Operation file attributes.
Parameters:

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

ChecksumType

checksum type prop

GUID

GUID prop

LFN

LFN prop

Status

status prop

__init__(fromDict=None)

c’tor

Parameters:
  • self – self reference
  • fromDict (dict) – property dict
toJSON()

Returns the json formated string that describes the File