def clear_messages(request):
    for message in messages.get_messages(request):
        pass
Clear any messages out of the messages framework for the authenticated
dataset/ETHPy150Open mozilla/addons-server/src/olympia/amo/utils.py/clear_messages