FTSFile

mod:FTSFile
synopsis:class representing a single file in the FTS job

class representing a single file in the FTS job

class DIRAC.DataManagementSystem.Client.FTSFile.FTSFile(fromDict=None)

Bases: object

class FTSFile

class representing a single file in the FTS job

ALL_STATES = ('Submitted', 'Ready', 'Active', 'Failed', 'Finished', 'Staging', 'Canceled', 'Started', 'Waiting')
Attempt

attempt getter

Checksum

checksum prop

ChecksumType

checksum type prop

CreationTime

creation time getter

Error

error prop

FAILED_STATES = ('Canceled', 'Failed')
FINAL_STATES = ('CanceledFailed', 'Finished')
FTSFileID

FTSFileID getter

FTSGUID

FTSGUID getter

FileID

FileID getter

LFN

LFN prop

LastUpdate

last update getter

OperationID

OperationID getter

RequestID

RequestID getter

SUCCESS_STATES = 'Finished'
Size

file size

SourceSE

source SE prop

SourceSURL

source SURL getter

Status

status prop

TargetSE

target SE prop

TargetSURL

target SURL getter

static tableDesc()

get table description

toJSON()

dump FTSFile to JSON format

toSQL()

prepare SQL INSERT or UPDATE statement