def METHOD_NAME(request):
    windows = _fetch_windows(request.db, models.DocumentMeta.updated)
    request.tm.commit()
    for window in windows:
        request.tm.begin()
        _normalize_document_meta_window(request.db, window)
        request.tm.commit()