(self)
| 141 | return [message.clone() for message in messages] |
| 142 | |
| 143 | def _ensure_not_cancelled(self) -> None: |
| 144 | event = getattr(self.context, "cancel_event", None) |
| 145 | if event is not None and event.is_set(): |
| 146 | raise WorkflowCancelledError("Workflow execution cancelled") |
no test coverage detected