src/orion/core/worker/producer.py
def _prevalidate_trial(self, new_trial):
        """Verify if trial is not in parent history"""
        if (
            Trial.compute_trial_hash(new_trial, ignore_experiment=True)
            in self.params_hashes
        ):
            raise DuplicateKeyError
Verify if trial is not in parent history
Verify if trial is not in parent history
Verify if trial is not in parent history
def _prevalidate_trial(self, new_trial):
        if (
            Trial.compute_trial_hash(new_trial, ignore_experiment=True)
            in self.params_hashes
        ):
            raise DuplicateKeyError
def _prevalidate_trial ( self , new_trial ) : if ( Trial . compute_trial_hash ( new_trial , ignore_experiment = True ) in self . params_hashes ) : raise DuplicateKeyError
Verify if trial is not in parent history
Verify if trial is not in parent history
"""Verify if trial is not in parent history"""
self
new_trial