def get_and_clear(self):
        return self.session.pop('_messages', [])

    # Wrapper functions for add
Coerce values (except None) to self.data_type.
dataset/ETHPy150Open dcramer/django-notices/django_notices/helpers.py/NoticeHandler.get_and_clear--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/db/__init__.py/_CoercingProperty.validate