From 324123bd85cbb4d95110408366b8532635f52033 Mon Sep 17 00:00:00 2001 From: Bob Dickinson Date: Thu, 14 Dec 2023 21:26:27 -0800 Subject: [PATCH] Type specificity to make mypy happy (?) --- censys/asm/risks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/censys/asm/risks.py b/censys/asm/risks.py index a777518..f429665 100644 --- a/censys/asm/risks.py +++ b/censys/asm/risks.py @@ -1,5 +1,5 @@ """Interact with the Censys Risks API.""" -from typing import List, Optional +from typing import Any, Dict, List, Optional from .api import CensysAsmAPI @@ -34,7 +34,7 @@ def get_risk_events( Returns: dict: Risk events result. """ - args = {} + args: Dict[str, Any] = {} if start: args["start"] = start if end: