def set_validator(self, validator):
        self.__validator = VALIDATORS.get(validator)

        return self
Sets the valdidator.
dataset/ETHPy150Open sdispater/cleo/cleo/inputs/input_option.py/InputOption.set_validator