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.logger = logging.getLogger("CRABLogger.RESTUserWorkflow") self.userworkflowmgr = DataUserWorkflow() self.allCMSNames = CMSSitesCache(cachetime=0, sites={})
def __init__(self, config): self.logger = logging.getLogger('CRABLogger.DataCampaign') self.userworkflow = DataUserWorkflow()