def _delete_expired(self):
        expiration = datetime.utcnow() - timedelta(seconds=self._ttl)
        self._session.query(Transaction) \
            .filter(Transaction.created_at < expiration).delete()
dataset/ETHPy150Open Yubico/u2fval/u2fval/core/transactiondb.py/DBStore._delete_expired/original