From 1b1c403cdc03418b2762b5104917f65245efdfb7 Mon Sep 17 00:00:00 2001 From: Noa Aviel Dove Date: Mon, 30 Oct 2023 14:58:51 -0700 Subject: [PATCH] fixup! [a r] Index dataset description from Terra API (#5547) --- test/indexer/test_anvil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/indexer/test_anvil.py b/test/indexer/test_anvil.py index 141434d7f..cae2520cf 100644 --- a/test/indexer/test_anvil.py +++ b/test/indexer/test_anvil.py @@ -112,7 +112,7 @@ def test_dataset_description(self): self._index_bundle(bundle, delete=False) hits = self._get_all_hits() - doc_counts = defaultdict(int) + doc_counts: dict[DocumentType, int] = defaultdict(int) for hit in hits: entity_type, doc_type = self._parse_index_name(hit) doc_counts[doc_type] += 1