We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9c207d commit b602369Copy full SHA for b602369
gvm/protocols/gmp/requests/next/_agents.py
@@ -7,14 +7,14 @@
7
from gvm.errors import RequiredArgument
8
from gvm.protocols.core import Request
9
from gvm.protocols.gmp.requests._entity_id import EntityID
10
-from gvm.utils import SupportsStr, to_bool
+from gvm.utils import to_bool
11
from gvm.xml import XmlCommand
12
13
14
class Agents:
15
16
@staticmethod
17
- def _add_element(element, name: str, value: Optional[SupportsStr]) -> None:
+ def _add_element(element, name: str, value: Any) -> None:
18
"""
19
Helper to add a sub-element with a value if the value is not None.
20
0 commit comments