def get_last_transition(self):
        try:
            return self.get_last_log_entry().transition
        except __HOLE__:
            return None
dataset/ETHPy150Open mayan-edms/mayan-edms/mayan/apps/document_states/models.py/WorkflowInstance.get_last_transition