mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-02-24 21:59:48 +00:00
docs: correct docstring for list_flatmap method
This commit is contained in:
@@ -329,10 +329,10 @@ def list_flatmap(source: Iterable[T], extractor: Callable[[T], Iterable[R]]) ->
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
source(Iterable[T]): source list
|
source(Iterable[T]): source list
|
||||||
extractor(Callable[[T], list[R]): property extractor
|
extractor(Callable[[T], Iterable[R]]): property extractor
|
||||||
|
|
||||||
Returns:
|
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]:
|
def generator() -> Iterator[R]:
|
||||||
for inner in source:
|
for inner in source:
|
||||||
|
|||||||
Reference in New Issue
Block a user