Beispiel #1
0
 def __unicode__(self):
     return text_format.MessageToString(self, as_utf8=True).decode('utf-8')
Beispiel #2
0
 def __str__(self):
     return text_format.MessageToString(self)