forked from p34709852/monkey
Agent: Fix mypy issue
This commit is contained in:
parent
01f1d62272
commit
19dbf81fa3
|
@ -1,6 +1,6 @@
|
|||
import logging
|
||||
import subprocess
|
||||
from typing import Dict, Iterable, List, Tuple
|
||||
from typing import Dict, Iterable, List, Optional, Tuple
|
||||
|
||||
from common.common_consts.timeouts import LONG_REQUEST_TIMEOUT
|
||||
from common.utils.attack_utils import ScanStatus
|
||||
|
@ -24,7 +24,7 @@ class PBA:
|
|||
name="unknown",
|
||||
linux_cmd="",
|
||||
windows_cmd="",
|
||||
timeout: int = LONG_REQUEST_TIMEOUT,
|
||||
timeout: Optional[float] = LONG_REQUEST_TIMEOUT,
|
||||
):
|
||||
"""
|
||||
:param name: Name of post breach action.
|
||||
|
|
Loading…
Reference in New Issue