def clean(self):
        """Validate instance field values."""
        if self.end is not None and self.start > self.end:
            raise ValidationError("Start date must be prior to end date.")
dataset/ETHPy150Open mozilla/moztrap/moztrap/model/execution/models.py/Run.clean/original