Skip to content

Commit

Permalink
Fix: implicit Optional
Browse files Browse the repository at this point in the history
  • Loading branch information
n-thumann authored and greenbonebot committed Nov 10, 2023
1 parent 0ccdb19 commit 40eee8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/nvd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_cve_data(data: Optional[Dict[str, Any]] = None) -> Dict[str, Any]:
return cve


def get_cpe_data(update: Dict[str, Any] = None) -> Dict[str, Any]:
def get_cpe_data(update: Optional[Dict[str, Any]] = None) -> Dict[str, Any]:
data = {
"deprecated": False,
"cpe_name": "cpe:2.3:o:microsoft:windows_10_22h2:-:*:*:*:*:*:arm64:*",
Expand Down

0 comments on commit 40eee8d

Please sign in to comment.