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 ea9cab1 commit 4533c3cCopy full SHA for 4533c3c
plugwise/helper.py
@@ -73,7 +73,7 @@
73
)
74
75
76
-def _find(xml_in: etree, locator: str) -> list[str]:
+def _find(xml_in: etree, locator: str) -> etree | None:
77
"""Helper-function for use of etree.find()."""
78
if xml_in is not None:
79
if (found := xml_in.find(locator)) is not None:
0 commit comments