MCPcopy
hub / github.com/hyperopt/hyperopt / _insert_trial_docs

Method _insert_trial_docs

hyperopt/base.py:426–430  ·  view source on GitHub ↗

insert with no error checking

(self, docs)

Source from the content-addressed store, hash-verified

424 return trial
425
426 def _insert_trial_docs(self, docs):
427 """insert with no error checking"""
428 rval = [doc["tid"] for doc in docs]
429 self._dynamic_trials.extend(docs)
430 return rval
431
432 def insert_trial_doc(self, doc):
433 """insert trial after error checking

Callers 3

insert_trial_docMethod · 0.95
insert_trial_docsMethod · 0.95
trials_from_docsFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected