Closed pickfire closed 3 years ago
[...]
is more readable and common than list(chain.from_iterable(...))
.
Unfortunately, [...]
is not equivalent to list(chain.from_iterable(...))
. Previously, the code created a List[SearchEntry]
. After your change, it creates a List[Iterable[SearchEntry]]
. You'll see this in the failing test results.
What is the purpose of this refactor?