Move folders

This commit is contained in:
Andras Schmelczer 2022-07-04 18:54:32 +02:00
parent ba2e252759
commit 3cf28379e8
89 changed files with 47 additions and 31 deletions

View file

@ -0,0 +1,9 @@
from typing import Iterable, Optional, TypeVar
T = TypeVar("T")
def unchunk(chunks: Iterable[Optional[Iterable[T]]]) -> Iterable[T]:
for chunk in chunks:
if chunk is not None:
yield from chunk