def require_context(ctxt):
    if not ctxt.is_os_admin and not is_user_context(ctxt):
        raise exception.AuthFailure()
Raise exception.AuthFailure()
dataset/ETHPy150Open openstack/ec2-api/ec2api/context.py/require_context