forked from p34709852/monkey
Agent: Improve Callback type hint in IPScanner
This commit is contained in:
parent
0c180a455c
commit
1a7135e13f
|
@ -11,7 +11,9 @@ from .threading_utils import create_daemon_thread
|
|||
|
||||
logger = logging.getLogger()
|
||||
|
||||
Callback = Callable[[str, PingScanData, Dict[int, PortScanData]], None]
|
||||
IP = str
|
||||
Port = int
|
||||
Callback = Callable[[IP, PingScanData, Dict[Port, PortScanData]], None]
|
||||
|
||||
|
||||
class IPScanner:
|
||||
|
|
Loading…
Reference in New Issue