def get_id(self):
        try:
            return unicode(self.id)  # python 2
        except __HOLE__:
            return str(self.id)  # python 3
dataset/ETHPy150Open miguelgrinberg/microblog/app/models.py/User.get_id