def as_text(self):
        '''
        Text preview of record, no html tag. Override this if necessary
        '''
        column_list = self._column_list
        if len(column_list) >1:
            value = getattr(self, column_list[1])
            if isinstance(value, DB_Model):
                value = value.quick_preview()
            return str(encode_string(value))
        return self.id
dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/model.py/DB_Model.as_text/original