Exemplo n.º 1
0
 def validate(self, value):
     return compat.intern(str(super(Identifier, self).validate(value)))
Exemplo n.º 2
0
 def validate(self, value):
     value = super(Identifier, self).validate(value)
     if isinstance(value, compat.text_type):
         value = value.encode('utf-8')
     return compat.intern(value)
Exemplo n.º 3
0
 def validate(self, value):
     return compat.intern(str(super(Identifier, self).validate(value)))