BB: Update type hint to be more specific in CommunicationAnalyzer

Co-authored-by: Mike Salvatore <mike.s.salvatore@gmail.com>
This commit is contained in:
Shreya Malviya 2022-07-21 18:41:25 +05:30 committed by Mike Salvatore
parent db5187fc74
commit 549a79ced4
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ from envs.monkey_zoo.blackbox.island_client.monkey_island_client import MonkeyIs
class CommunicationAnalyzer(Analyzer): class CommunicationAnalyzer(Analyzer):
def __init__(self, island_client: MonkeyIslandClient, machine_ips: Iterable): def __init__(self, island_client: MonkeyIslandClient, machine_ips: Iterable[str]):
self.island_client = island_client self.island_client = island_client
self.machine_ips = machine_ips self.machine_ips = machine_ips
self.log = AnalyzerLog(self.__class__.__name__) self.log = AnalyzerLog(self.__class__.__name__)