docs(orchestrator): fix raw_books type annotation and changelog prose

The raw_books parameter accepts list[dict | Book] since the
selector wiring (issue #48), but the annotation still said
list[dict]. Also restore the missing opening sentence of the
selector changelog entry that was truncated.
This commit is contained in:
AlexKucera committed 2026-06-06 17:28:44 +02:00
1 parent fa1543e3d7
commit 77712951d0
2 files changed
+6 -3

No files matched your search

+2 -2
View File
@@ -88,7 +88,7 @@ def _download_one(
def download_all_books(
raw_books: list[dict],
raw_books: list[dict | Book],
*,
workers: int,
download_fn: Callable[[Book], Any],
@@ -99,7 +99,7 @@ def download_all_books(
"""Run downloads for all books using a thread pool.
Args:
raw_books: List of raw Libro.fm API book dicts.
raw_books: List of raw Libro.fm API book dicts, or pre-converted Book objects.
workers: Number of parallel worker threads.
download_fn: Callable accepting a Book, returning Path (success) or None (skipped).
reporter: Reporter instance with start_download/complete/fail/summary methods.