From 1f4167f44c5887b8689f88073520f6ccdba47f28 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Thu, 21 Jul 2022 19:06:07 +0530 Subject: [PATCH] BB: Add more specific type hint to IslandConfigParser.get_target_ips_from_configuration() --- envs/monkey_zoo/blackbox/island_client/island_config_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envs/monkey_zoo/blackbox/island_client/island_config_parser.py b/envs/monkey_zoo/blackbox/island_client/island_config_parser.py index c335a23f9..8688e253a 100644 --- a/envs/monkey_zoo/blackbox/island_client/island_config_parser.py +++ b/envs/monkey_zoo/blackbox/island_client/island_config_parser.py @@ -5,5 +5,5 @@ from common.configuration.agent_configuration import AgentConfiguration class IslandConfigParser: @staticmethod - def get_target_ips_from_configuration(agent_configuration: AgentConfiguration) -> Iterable: + def get_target_ips_from_configuration(agent_configuration: AgentConfiguration) -> Iterable[str]: return agent_configuration.propagation.network_scan.targets.subnets