Roll-over excess time from tasks.

This commit is contained in:
Dan Albert
2023-08-13 22:46:00 -07:00
parent 8c6b360e65
commit c00f853f34
6 changed files with 23 additions and 18 deletions

View File

@@ -14,8 +14,8 @@ class TestAction(WaypointAction):
def update_state(
self, state: ActionState, time: datetime, duration: timedelta
) -> None:
pass
) -> timedelta:
return timedelta()
def iter_tasks(self, ctx: TaskContext) -> Iterator[Task]:
yield from []