From f9deb12dd95e0c7c823659667aa61f9ef029bcf8 Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Sat, 19 Oct 2024 22:38:39 +0100 Subject: [PATCH] ok --- src/pypi_data/combine_parquet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pypi_data/combine_parquet.py b/src/pypi_data/combine_parquet.py index 70e08118..579794bb 100644 --- a/src/pypi_data/combine_parquet.py +++ b/src/pypi_data/combine_parquet.py @@ -40,7 +40,7 @@ async def fill_buffer(buffer: list[tuple[tuple[int, range], RecordBatch]], clien def hash_parquet_keys(keys: list[tuple[int, range]]) -> str: - combined = "-".join(f"{number}-{start}-{end}" for number, (start, end) in keys) + combined = "-".join(f"{number}-{rng.start}-{rng.stop}" for (number, rng) in keys) return hashlib.sha256(combined.encode()).hexdigest()