fix(runtime): use pass for protocol stubs

This commit is contained in:
rayhpeng
2026-06-01 15:31:46 +08:00
parent 30bb2d5149
commit 9ed83c84dc
6 changed files with 28 additions and 14 deletions
@@ -10,7 +10,8 @@ from ..domain import CancelAction, RunId
class RunSupervisor(Protocol):
"""Controls lifecycle operations for already scheduled runs."""
async def cancel(self, run_id: RunId, *, action: CancelAction = CancelAction.interrupt) -> bool: ...
async def cancel(self, run_id: RunId, *, action: CancelAction = CancelAction.interrupt) -> bool:
pass
__all__ = [