MCPcopy Create free account
hub / github.com/hyperopt/hyperopt / attachments

Method attachments

hyperopt/base.py:729–734  ·  view source on GitHub ↗

Support syntax for load: self.attachments[name] Support syntax for store: self.attachments[name] = value

(self)

Source from the content-addressed store, hash-verified

727
728 @property
729 def attachments(self):
730 """
731 Support syntax for load: self.attachments[name]
732 Support syntax for store: self.attachments[name] = value
733 """
734 return self.trials.trial_attachments(trial=self.current_trial)
735
736 def inject_results(self, specs, results, miscs, new_tids=None):
737 """Inject new results into self.trials

Callers

nothing calls this directly

Calls 1

trial_attachmentsMethod · 0.45

Tested by

no test coverage detected