def do_single_request(*args, **kwargs):
 cluster = kwargs['cluster']
 try:
  req = cluster.api_client.request(*args)
 except NvpApiClient.ResourceNotFound:
  raise exception.NotFound()
 return req

def do_single_request ( * args , ** kwargs ) : cluster = kwargs [ 'cluster' ] try : req = cluster . api_client . request ( * args ) except NvpApiClient . ResourceNotFound : raise exception . NotFound ( ) return req
issue a request to a specified cluster if specified via kwargs .