Resolve mypy error
This commit is contained in:
parent
e3703042b0
commit
92e3181323
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
from typing import List, Set
|
from typing import List, Set, Dict, Any
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from .common import (
|
from .common import (
|
||||||
Validateable,
|
Validateable,
|
||||||
|
@ -34,7 +34,7 @@ class TerraformDomain(Validateable):
|
||||||
self.tf_use_package_common_files = inp.get("tf_use_package_common_files", True)
|
self.tf_use_package_common_files = inp.get("tf_use_package_common_files", True)
|
||||||
|
|
||||||
provider_types = TerraformDomain.parse_provider_types(self.tf_provider_types)
|
provider_types = TerraformDomain.parse_provider_types(self.tf_provider_types)
|
||||||
self.providers = {}
|
self.providers: Dict[ProviderType, Any] = {}
|
||||||
if ProviderType.DIGITALOCEAN in provider_types:
|
if ProviderType.DIGITALOCEAN in provider_types:
|
||||||
self.providers[ProviderType.DIGITALOCEAN] = Digitalocean(inp)
|
self.providers[ProviderType.DIGITALOCEAN] = Digitalocean(inp)
|
||||||
if ProviderType.HETZNER in provider_types:
|
if ProviderType.HETZNER in provider_types:
|
||||||
|
|
Loading…
Reference in a new issue