mirror of https://github.com/zulip/zulip.git
utils: Fix process_list_in_batches type safety.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
9886cd1488
commit
408ef63404
|
@ -97,7 +97,7 @@ def assert_is_not_none(value: Optional[T]) -> T:
|
|||
|
||||
|
||||
def process_list_in_batches(
|
||||
lst: List[Any], chunk_size: int, process_batch: Callable[[List[Any]], None]
|
||||
lst: List[T], chunk_size: int, process_batch: Callable[[List[T]], None]
|
||||
) -> None:
|
||||
offset = 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue