BB: Add more specific type hint to IslandConfigParser.get_target_ips_from_configuration()

This commit is contained in:
Shreya Malviya 2022-07-21 19:06:07 +05:30 committed by Mike Salvatore
parent 42efe1fc56
commit 1f4167f44c
1 changed files with 1 additions and 1 deletions

View File

@ -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