@classmethod
    def unread_to_open(cls, issue):
        issue.status = 'open'
        issue.save()

        return issue
Change unread issues to open.
dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/blueprints/issue/models.py/Issue.unread_to_open