Agent: Use Mapping instead of Dict

This commit is contained in:
Mike Salvatore 2022-06-24 19:21:48 -04:00
parent 503a0a833f
commit fefd2daf2b
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import logging
import threading
import time
from typing import Any, Callable, Dict, Iterable, List, Optional
from typing import Any, Callable, Iterable, List, Mapping, Optional
from common.configuration import PluginConfiguration
from common.utils import Timer
@ -208,7 +208,7 @@ class AutomatedMaster(IMaster):
self,
plugins: Iterable[PluginConfiguration],
callback: Callable[[Any], None],
custom_pba_options: Dict,
custom_pba_options: Mapping,
):
self._run_plugins(plugins, "post-breach action", callback)