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