(configs)
return valid_configs
Return a list of configs that have been validated
Return a list of configs that have been validated
Return a list of configs that have been validated
def _filter_invalid_config(configs):
    """Return a list of configs that have been validated"""
    valid_configs = []
    for config in configs:
        try:
            config.validate()
            valid_configs.append(config)
        except Exception:
            pillow_logging.warning("Invalid config found during bootstrap: %s", config._id)
    return valid_configs
def _filter_invalid_config ( configs ) : valid_configs = [ ] for config in configs : try : config . validate ( ) valid_configs . append ( config ) except Exception : pillow_logging . warning ( "Invalid config found during bootstrap: %s" , config . _id ) return valid_configs