From 82a8dac95039c10f39eaae2705eaa3da0c1b38dd Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Mon, 23 Mar 2026 08:14:24 -0500 Subject: [PATCH] fix: correct url_get return type annotation to dict url_get returns await resp.json() which is a dict, not aiohttp.ClientResponse. The wrong annotation was introduced in the original PR and would mislead static analysis tools into expecting a response object from callers. Co-Authored-By: Claude Opus 4.6 (1M context) --- db_calls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db_calls.py b/db_calls.py index 4f9d5b0..4e43133 100644 --- a/db_calls.py +++ b/db_calls.py @@ -76,7 +76,7 @@ async def db_get( raise ValueError(f"DB: {e}") -async def url_get(url: str, timeout: int = 3) -> aiohttp.ClientResponse: +async def url_get(url: str, timeout: int = 3) -> dict: log_string = f"get:\n{url}" logger.info(log_string) if master_debug else logger.debug(log_string)