diff --git a/plugins/aws/resoto_plugin_aws/utils.py b/plugins/aws/resoto_plugin_aws/utils.py index e52d69a809..a0bc9cd2db 100644 --- a/plugins/aws/resoto_plugin_aws/utils.py +++ b/plugins/aws/resoto_plugin_aws/utils.py @@ -183,7 +183,7 @@ def __init__(self, name: str) -> None: def execute(self, source: List[Json]) -> Optional[str]: for k in source: if k.get("Key") == self.name: - return k.get("Value", "") + return k.get("Value", "") # type: ignore return None diff --git a/plugins/aws/test/resources/__init__.py b/plugins/aws/test/resources/__init__.py index bb120d03ec..008b2320ba 100644 --- a/plugins/aws/test/resources/__init__.py +++ b/plugins/aws/test/resources/__init__.py @@ -104,7 +104,7 @@ def __call__(self, *args: Any, **kwargs: Any) -> Any: def all_props_set(obj: AwsResourceType, ignore_props: Set[str]) -> None: - for field in fields(type(obj)): + for field in fields(type(obj)): # type: ignore prop = field.name if ( not prop.startswith("_") diff --git a/plugins/azure/test/conftest.py b/plugins/azure/test/conftest.py index 93d4682137..f566f0a94f 100644 --- a/plugins/azure/test/conftest.py +++ b/plugins/azure/test/conftest.py @@ -102,7 +102,7 @@ def builder( def all_props_set(obj: AzureResourceType, ignore_props: Optional[Set[str]] = None) -> None: - for field in fields(type(obj)): + for field in fields(type(obj)): # type: ignore prop = field.name if not prop.startswith("_") and prop not in { "account",