def __init__(self, config): self.config = config self.logger = logging.getLogger("CRABLogger.DataWorkflow") self.allCMSNames = CMSSitesCache(cachetime=0, sites={}) self.splitArgMap = { "LumiBased" : "lumis_per_job", "FileBased" : "files_per_job", "EventBased" : "events_per_job",} self.Task = getDBinstance(config, 'TaskDB', 'Task') self.JobGroup = getDBinstance(config, 'TaskDB', 'JobGroup') self.FileMetaData = getDBinstance(config, 'FileMetaDataDB', 'FileMetaData')
def __init__(self, config): self.config = config self.logger = logging.getLogger("CRABLogger.DataWorkflow") self.allCMSNames = CMSSitesCache(cachetime=0, sites={}) self.splitArgMap = { "LumiBased": "lumis_per_job", "FileBased": "files_per_job", "EventBased": "events_per_job", } self.Task = getDBinstance(config, 'TaskDB', 'Task') self.JobGroup = getDBinstance(config, 'TaskDB', 'JobGroup') self.FileMetaData = getDBinstance(config, 'FileMetaDataDB', 'FileMetaData')
def __init__(self, app, api, config, mount, centralcfg): RESTEntity.__init__(self, app, api, config, mount) self.logger = logging.getLogger("CRABLogger.RESTUserWorkflow") self.userworkflowmgr = DataUserWorkflow() self.allCMSNames = CMSSitesCache(cachetime=0, sites={}) self.centralcfg = centralcfg self.Task = getDBinstance(config, 'TaskDB', 'Task')
def __init__(self, app, api, config, mount): RESTEntity.__init__(self, app, api, config, mount) self.transferDB = getDBinstance(config, 'FileTransfersDB', 'FileTransfers') self.logger = logging.getLogger("CRABLogger.FileTransfers")
def __init__(self, config): self.logger = logging.getLogger("CRABLogger.DataFileMetadata") self.FileMetaData = getDBinstance(config,'FileMetaDataDB','FileMetaData')
def __init__(self, app, api, config, mount): RESTEntity.__init__(self, app, api, config, mount) self.Task = getDBinstance(config, 'TaskDB', 'Task') self.JobGroup = getDBinstance(config, 'TaskDB', 'JobGroup') self.logger = logging.getLogger("CRABLogger.RESTTask")
def __init__(self, app, api, config, mount): RESTEntity.__init__(self, app, api, config, mount) self.Task = getDBinstance(config, 'TaskDB', 'Task') self.JobGroup = getDBinstance(config, 'TaskDB', 'JobGroup')
def __init__(self, app, api, config, mount): #pylint: disable=unused-argument RESTEntity.__init__(self, app, api, config, mount) self.transferDB = getDBinstance(config, 'FileTransfersDB', 'FileTransfers') self.logger = logging.getLogger("CRABLogger.FileTransfers")
def __init__(self, app, api, config, mount): RESTEntity.__init__(self, app, api, config, mount) self.Task = getDBinstance(config, "TaskDB", "Task") self.JobGroup = getDBinstance(config, "TaskDB", "JobGroup")
def __init__(self, config): self.logger = logging.getLogger("CRABLogger.DataFileMetadata") self.FileMetaData = getDBinstance(config, 'FileMetaDataDB', 'FileMetaData')