def __init__(self, job_info, config_info): """Construct the Dashboard Backend Monitoring Service.""" DashboardMS.__init__(self, job_info, config_info) try: self.backend_name = self.job_info.backend.__class__.__name__ except AttributeError: self.backend_name = self.job_info['BACKEND'] path_to_module = "Ganga.Lib.MonitoringServices.Dashboard.%sUtil" % self.backend_name __import__(path_to_module) import sys self.dynamic_util = sys.modules[path_to_module]
def __init__(self, job_info, config_info): """Construct the Dashboard LCG Monitoring Service.""" DashboardMS.__init__(self, job_info, config_info)