def LoadChecksFromFiles(file_paths, overwrite_if_exists=True):
 loaded = []
 for file_path in file_paths:
  configs = LoadConfigsFromFile(file_path)
  for conf in configs.values():
   check = Check(**conf)
   check.Validate()
   loaded.append(check)
   CheckRegistry.RegisterCheck(check, source=('file:%s' % file_path), overwrite_if_exists=overwrite_if_exists)
   logging.debug('Loaded check %s from %s', check.check_id, file_path)
 return loaded

def LoadChecksFromFiles ( file_paths , overwrite_if_exists = True ) : loaded = [ ] for file_path in file_paths : configs = LoadConfigsFromFile ( file_path ) for conf in configs . values ( ) : check = Check ( ** conf ) check . Validate ( ) loaded . append ( check ) CheckRegistry . RegisterCheck ( check , source = ( 'file:%s' % file_path ) , overwrite_if_exists = overwrite_if_exists ) logging . debug ( 'Loaded check %s from %s' , check . check_id , file_path ) return loaded
load the checks defined in the specified files .