'Retrieve the tenant info in context.'

def tenant(self, request):

    context = request.context
    if (not context.tenant_id):
        raise exceptions.QuotaMissingTenant()
    return {'tenant': {'tenant_id': context.tenant_id}}
