@cached_property
    def display_title(self):
        try:
            ret = self.title
        except __HOLE__:
            ret = "no title available"

        try:
            if ret.isupper():
                ret = ret.title()
        except AttributeError:  #some titles are ints, apparently
            pass


        return ret
dataset/ETHPy150Open Impactstory/total-impact-webapp/totalimpactwebapp/biblio.py/Biblio.display_title