py2/h2o_ray.py
def models(self, key=None, timeoutSecs=10, **kwargs):
    '''
    Return all of the models in the h2o cluster, or a single model given its key.  
    The models are contained in a list called "models" at the top level of the
    result.  Currently the list is unordered.
    TODO:
    When find_compatible_frames is implemented then the top level 
    dict will also contain a "frames" list.
    '''
    params_dict = {
        'find_compatible_frames': False
    }
    h2o_methods.check_params_update_kwargs(params_dict, kwargs, 'models', True)

    if key:
        # result = self.do_json_request('3/Models.json', timeout=timeoutSecs, params=params_dict)
        # print "for ray:", dump_json(result)
        result = self.do_json_request('3/Models.json/' + key, timeout=timeoutSecs, params=params_dict)
    else:
        result = self.do_json_request('3/Models.json', timeout=timeoutSecs, params=params_dict)
    
    verboseprint("models result:", dump_json(result))
    h2o_sandbox.check_sandbox_for_errors()
    return result
def models(self, key=None, timeoutSecs=10, **kwargs):
    '''
    Return all of the models in the h2o cluster, or a single model given its key.  
    The models are contained in a list called "models" at the top level of the
    result.  Currently the list is unordered.
    TODO:
    When find_compatible_frames is implemented then the top level 
    dict will also contain a "frames" list.
    '''
    params_dict = {
        'find_compatible_frames': False
    }
    h2o_methods.check_params_update_kwargs(params_dict, kwargs, 'models', True)

    if key:
        # result = self.do_json_request('3/Models.json', timeout=timeoutSecs, params=params_dict)
        # print "for ray:", dump_json(result)
        result = self.do_json_request('3/Models.json/' + key, timeout=timeoutSecs, params=params_dict)
    else:
        result = self.do_json_request('3/Models.json', timeout=timeoutSecs, params=params_dict)
    
    verboseprint("models result:", dump_json(result))
    h2o_sandbox.check_sandbox_for_errors()
    return result
def models ( self , key = None , timeoutSecs = 10 , * * kwargs ) : params_dict = { 'find_compatible_frames' : False } h2o_methods . check_params_update_kwargs ( params_dict , kwargs , 'models' , True ) if key : # result = self.do_json_request('3/Models.json', timeout=timeoutSecs, params=params_dict) # print "for ray:", dump_json(result) result = self . do_json_request ( '3/Models.json/' + key , timeout = timeoutSecs , params = params_dict ) else : result = self . do_json_request ( '3/Models.json' , timeout = timeoutSecs , params = params_dict ) verboseprint ( "models result:" , dump_json ( result ) ) h2o_sandbox . check_sandbox_for_errors ( ) return result
Return all of the models in the h2o cluster, or a single model given its key.  
    The models are contained in a list called "models" at the top level of the
    result.  Currently the list is unordered.
    TODO:
    When find_compatible_frames is implemented then the top level 
    dict will also contain a "frames" list.
Return all of the models in the h2o cluster or a single model given its key . The models are contained in a list called models at the top level of the result . Currently the list is unordered . TODO : When find_compatible_frames is implemented then the top level dict will also contain a frames list .