def log_out_user(request):

    cookies = request.get('cookies', {})
    session_id = cookies.get('session_id')
    if session_id:
        redis.delete(session_id)
Log out the given user.
dataset/ETHPy150Open heiskr/sagefy/server/framework/session.py/log_out_user