def listRequests(self): """ Returns a list of requests in the reqmgr TODO add generator form """ reqmgr = RequestManagerImpl() retval = [] for request in reqmgr.listRequests(self.endpoint): tmpRequest = Request() tmpRequest.setReqmgrUrl( self.endpoint ) tmpRequest.setWorkflowName( request['request_name'] ) retval.append( tmpRequest ) return retval
def __init__(self): ''' Constructor ''' Request.__init__(self)
def __init__(self): """ Constructor """ Request.__init__(self)