parameters: (anomalies)
return_statement: return recovered_anomalies
docstring: Finds and updates anomalies that recovered.
docstring_summary: Finds and updates anomalies that recovered.
docstring_tokens: Finds and updates anomalies that recovered .
function: def _FindAndUpdateRecoveredAnomalies(anomalies):
    """Finds and updates anomalies that recovered."""
    recovered_anomalies = []
    for anomaly_entity in anomalies:
      if _IsAnomalyRecovered(anomaly_entity):
        anomaly_entity.recovered = True
        recovered_anomalies.append(anomaly_entity)
    ndb.put_multi(recovered_anomalies)
    return recovered_anomalies
function_tokens: def _FindAndUpdateRecoveredAnomalies ( anomalies ) : recovered_anomalies = [ ] for anomaly_entity in anomalies : if _IsAnomalyRecovered ( anomaly_entity ) : anomaly_entity . recovered = True recovered_anomalies . append ( anomaly_entity ) ndb . put_multi ( recovered_anomalies ) return recovered_anomalies