Skip to content

Commit

Permalink
Type specificity to make mypy happy (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobDickinson authored and thehappydinoa committed Dec 15, 2023
1 parent b73b82f commit 324123b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions censys/asm/risks.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 324123b

Please sign in to comment.