From c39d8673fd15f3626398b4e0b75a923c11730f66 Mon Sep 17 00:00:00 2001 From: paulzierep Date: Tue, 5 Nov 2024 10:35:46 +0100 Subject: [PATCH] lint --- sources/bin/shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/bin/shared.py b/sources/bin/shared.py index 151b592d..611436bc 100644 --- a/sources/bin/shared.py +++ b/sources/bin/shared.py @@ -92,7 +92,7 @@ def read_suite_per_tool_id(tool_fp: str) -> Dict: return tools -def get_request_json(url: str, headers: dict, retries: int = 3, delay: float = 2.0) -> Optional[dict]: +def get_request_json(url: str, headers: dict, retries: int = 3, delay: float = 2.0) -> dict: """ Perform a GET request to retrieve JSON output from a specified URL, with retry on ConnectionError.