From 92e3181323ee8caf2777bb809e635dd118f8249e Mon Sep 17 00:00:00 2001 From: bom Date: Fri, 26 May 2023 08:53:32 +0200 Subject: [PATCH] Resolve mypy error --- src/main/python/ddadevops/domain/terraform.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/python/ddadevops/domain/terraform.py b/src/main/python/ddadevops/domain/terraform.py index a865f3b..03fd5c9 100644 --- a/src/main/python/ddadevops/domain/terraform.py +++ b/src/main/python/ddadevops/domain/terraform.py @@ -1,4 +1,4 @@ -from typing import List, Set +from typing import List, Set, Dict, Any from pathlib import Path from .common import ( Validateable, @@ -34,7 +34,7 @@ class TerraformDomain(Validateable): self.tf_use_package_common_files = inp.get("tf_use_package_common_files", True) provider_types = TerraformDomain.parse_provider_types(self.tf_provider_types) - self.providers = {} + self.providers: Dict[ProviderType, Any] = {} if ProviderType.DIGITALOCEAN in provider_types: self.providers[ProviderType.DIGITALOCEAN] = Digitalocean(inp) if ProviderType.HETZNER in provider_types: