

def validate(self, value):
    if (':' in value):
        raise ValidationError('This field may not contain the colon character `:`.')

dataset/ETHPy150Open stackdio/stackdio/stackdio/core/validators.py LabelValidator.validate/original