Skip to content

Commit

Permalink
python3.8 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
tjwald committed Dec 23, 2024
1 parent fbc1b5f commit 34ad3b6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any
from typing import Any, List, Dict

from checkov.common.models.enums import CheckCategories, CheckResult
from checkov.terraform.checks.resource.base_resource_check import BaseResourceCheck
Expand All @@ -17,7 +17,7 @@ def __init__(self):
supported_resources=supported_resources,
)

def scan_resource_conf(self, conf: dict[str, list[Any]]) -> CheckResult:
def scan_resource_conf(self, conf: Dict[str, List[Any]]) -> CheckResult:
if conf.get("kind", [""])[0].lower() != 'openai':
return CheckResult.PASSED

Expand Down

0 comments on commit 34ad3b6

Please sign in to comment.