Give todo_table.items one way to say a plan has no items table #342

Merged
lilleman merged 7 commits from item-117 into main 2026-10-22 00:42:24 +02:00
Showing only changes of commit 2f10b900b5 - Show all commits
+1 -1
View File
@@ -135,7 +135,7 @@ def shape_of(columns: tuple[str, ...]) -> Shape:
@dataclasses.dataclass(frozen=True)
class NoItemsTable(Failure):
"""todo.md holds no items table. A table with no rows is not this: items reads it as an empty list."""
"""todo.md holds no items table. A table with no rows is not a NoItemsTable: items returns an empty list for it."""
def items(todo: str) -> list[Item] | Failure: