From f0271558851ba27c84dbe4c7daa3229c4754c8fd Mon Sep 17 00:00:00 2001 From: Evgenii Alekseev Date: Tue, 17 Feb 2026 01:27:59 +0200 Subject: [PATCH] docs: correct docstring for list_flatmap method --- src/ahriman/core/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ahriman/core/utils.py b/src/ahriman/core/utils.py index f10932d6..c9e5df3b 100644 --- a/src/ahriman/core/utils.py +++ b/src/ahriman/core/utils.py @@ -329,10 +329,10 @@ def list_flatmap(source: Iterable[T], extractor: Callable[[T], Iterable[R]]) -> Args: source(Iterable[T]): source list - extractor(Callable[[T], list[R]): property extractor + extractor(Callable[[T], Iterable[R]]): property extractor Returns: - list[T]: combined list of unique entries in properties list + list[R]: combined list of unique entries in properties list """ def generator() -> Iterator[R]: for inner in source: