(self)
| 81 | return Status(status) |
| 82 | |
| 83 | def __str__(self): |
| 84 | result = [] |
| 85 | for _type in sorted(self.type_cls, key=lambda item: item.value, reverse=True): |
| 86 | result.insert(len(self.type_cls) - _type.value, self.task_status[_type].value) |
| 87 | return "".join(result) |
| 88 | |
| 89 | def __setitem__(self, key, value): |
| 90 | self.task_status[key] = value |
no test coverage detected