MCPcopy
hub / github.com/hyperopt/hyperopt / new_result

Method new_result

hyperopt/base.py:999–1003  ·  view source on GitHub ↗

Return a JSON-encodable object to serve as the 'result' for new jobs.

(self)

Source from the content-addressed store, hash-verified

997 return result["status"]
998
999 def new_result(self):
1000 """Return a JSON-encodable object
1001 to serve as the 'result' for new jobs.
1002 """
1003 return {"status": STATUS_NEW}
1004
1005
1006# -- flake8 doesn't like blank last line

Callers 4

suggestFunction · 0.80
suggestFunction · 0.80
__call__Method · 0.80
suggestFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected