@property
    def messages(self):
        self.acquire()
        try:
            captured = collections.defaultdict(list)
            for r in self._records:
                captured[r.levelno].append(r.getMessage())
            return captured
        finally:
            self.release()
Return a Python property implementing a view of a target
dataset/ETHPy150Open openstack/taskflow/taskflow/test.py/CapturingLoggingHandler.messages--crossover with--dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/ext/associationproxy.py/association_proxy