Skip to content

Commit b602369

Browse files
committed
Fix linting issue for agent config
1 parent d9c207d commit b602369

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gvm/protocols/gmp/requests/next/_agents.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
from gvm.errors import RequiredArgument
88
from gvm.protocols.core import Request
99
from gvm.protocols.gmp.requests._entity_id import EntityID
10-
from gvm.utils import SupportsStr, to_bool
10+
from gvm.utils import to_bool
1111
from gvm.xml import XmlCommand
1212

1313

1414
class Agents:
1515

1616
@staticmethod
17-
def _add_element(element, name: str, value: Optional[SupportsStr]) -> None:
17+
def _add_element(element, name: str, value: Any) -> None:
1818
"""
1919
Helper to add a sub-element with a value if the value is not None.
2020

0 commit comments

Comments
 (0)