From ece8da3b01431057dfba76ddc487aaf165603aed Mon Sep 17 00:00:00 2001 From: Paul Hebble Date: Sun, 20 Oct 2024 08:52:14 -0500 Subject: [PATCH] Make the query nullable --- netkan/netkan/download_counter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netkan/netkan/download_counter.py b/netkan/netkan/download_counter.py index 6101dac..55e83ee 100644 --- a/netkan/netkan/download_counter.py +++ b/netkan/netkan/download_counter.py @@ -254,7 +254,7 @@ def __init__(self, game_id: str, ckm_repo: CkanMetaRepo, github_token: str) -> N def get_counts(self) -> None: graph_query = GitHubBatchedQuery(self.github_token) sd_query = SpaceDockBatchedQuery() - ia_query = InternetArchiveBatchedQuery() + ia_query: Optional[InternetArchiveBatchedQuery] = InternetArchiveBatchedQuery() for ckan in self.ckm_repo.all_latest_modules(): # pylint: disable=too-many-nested-blocks if ckan.kind == 'dlc': continue