def status_string(self):
        if self.failed:
            return "Failed"
        if self.requested:
            if self.completed:
                if self.pdf_url == "expired":
                    return "Expired"
                else:
                    return "Complete"
            elif self.started:
                return "Rendering"
            return "Queued, position %i" % self.queue_position()
        return "Unrequested"
dataset/ETHPy150Open andrewgodwin/lastgraph/lastgui/models.py/Poster.status_string/original