utils: Fix process_list_in_batches type safety.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-04-25 18:18:14 -07:00 committed by Anders Kaseorg
parent 9886cd1488
commit 408ef63404
1 changed files with 1 additions and 1 deletions

View File

@ -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