r"""Get task result to a sting. Args: indent (str): The ident for hierarchical tasks. Returns: str: The printable task string.
(self, indent: str = "")
| 196 | return _str |
| 197 | |
| 198 | def get_result(self, indent: str = "") -> str: |
| 199 | r"""Get task result to a sting. |
| 200 | |
| 201 | Args: |
| 202 | indent (str): The ident for hierarchical tasks. |
| 203 | |
| 204 | Returns: |
| 205 | str: The printable task string. |
| 206 | """ |
| 207 | _str = f"{indent}Task {self.id} result: {self.result}\n" |
| 208 | for subtask in self.subtasks: |
| 209 | _str += subtask.get_result(indent + " ") |
| 210 | return _str |
| 211 | |
| 212 | def decompose( |
| 213 | self, |