def getHypersearchWinningModelID(jobID):
 cjDAO = ClientJobsDAO.get()
 jobResults = cjDAO.jobGetFields(jobID, ['results'])[0]
 print ('Hypersearch job results: %r' % (jobResults,))
 jobResults = json.loads(jobResults)
 return jobResults['bestModel']

def getHypersearchWinningModelID ( jobID ) : cjDAO = ClientJobsDAO . get ( ) jobResults = cjDAO . jobGetFields ( jobID , [ 'results' ] ) [ 0 ] print ( 'Hypersearch job results: %r' % ( jobResults , ) ) jobResults = json . loads ( jobResults ) return jobResults [ 'bestModel' ]
parameters: jobid: jobid of successfully-completed hypersearch job retval: modelid of the winning model .