Agent: Change return typehint to be more specific

This commit is contained in:
vakarisz 2022-09-27 11:50:20 +03:00
parent 182a566087
commit b9cf200832
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ def _get_ips_from_ranges_to_scan(network_ranges: Iterable[NetworkRange]) -> List
def _get_ips_to_scan_from_interface( def _get_ips_to_scan_from_interface(
interfaces: Sequence[IPv4Interface], interfaces: Sequence[IPv4Interface],
) -> Sequence[NetworkAddress]: ) -> List[NetworkAddress]:
ranges = [str(interface) for interface in interfaces] ranges = [str(interface) for interface in interfaces]
ranges = NetworkRange.filter_invalid_ranges( ranges = NetworkRange.filter_invalid_ranges(