def get_user(self, request):
        user_id = request.session.get('user_id')
        if user_id is not None:
            user = User.query.get(user_id)
            if user is not None and user.is_banned:
                del request.session['user_id']
            else:
                return user
Calls a function while all cluster daemons are stopped.
dataset/ETHPy150Open mitsuhiko/solace/solace/auth.py/AuthSystemBase.get_user--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/cli.py/RunWhileClusterStopped