def LoadChecksFromDirs(dir_paths, overwrite_if_exists=True):
 loaded = []
 for dir_path in dir_paths:
  cfg_files = glob.glob(os.path.join(dir_path, '*.yaml'))
  loaded.extend(LoadChecksFromFiles(cfg_files, overwrite_if_exists))
 return loaded

def LoadChecksFromDirs ( dir_paths , overwrite_if_exists = True ) : loaded = [ ] for dir_path in dir_paths : cfg_files = glob . glob ( os . path . join ( dir_path , '*.yaml' ) ) loaded . extend ( LoadChecksFromFiles ( cfg_files , overwrite_if_exists ) ) return loaded
load checks from all yaml files in the specified directories .