@classmethod
    def _validate(cls, value):
        if not isinstance(value, basestring):
            raise ValueError(value)
        try:
            return unicode(value)
        except __HOLE__:
            return unicode(value, 'utf-8')
dataset/ETHPy150Open stepank/pyws/src/pyws/functions/args/types/simple.py/String._validate