@csrf_exempt
@has_request_variables
def lookup_endpoints_for_user(request, email=REQ()):
    try:
        return json_response(realm_for_email(email).deployment.endpoints)
    except __HOLE__:
        return json_error("Cannot determine endpoint for user.", status=404)
dataset/ETHPy150Open zulip/zulip/zilencer/views.py/lookup_endpoints_for_user