Marks the task as ready for execution.
(self)
| 326 | return self.internal_data.get(name, default) |
| 327 | |
| 328 | def _ready(self): |
| 329 | """Marks the task as ready for execution.""" |
| 330 | if self.has_state(TaskState.COMPLETED) or self.has_state(TaskState.CANCELLED): |
| 331 | return |
| 332 | self._set_state(TaskState.READY) |
| 333 | self.task_spec._on_ready(self) |
| 334 | |
| 335 | def run(self): |
| 336 | """Execute the task. |
no test coverage detected