def insert_trial_docs(self, docs):
        docs = [self.assert_valid_trial(SONify(doc))
                for doc in docs]
        return self._insert_trial_docs(docs)
trials - something like is returned by self.new_trial_docs()
dataset/ETHPy150Open hyperopt/hyperopt/hyperopt/base.py/Trials.insert_trial_docs