You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: je_load_density/utils/xml/xml_file/xml_file.py
+11-9Lines changed: 11 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
-
importxml.dom.minidom
2
-
fromxml.etreeimportElementTree
3
-
fromxml.etree.ElementTreeimportParseError
4
1
fromtypingimportOptional
2
+
fromxml.etreeimportElementTreeas_SafeElementTree# nosec B405 - used only for typing/wrapping; parsing routes through defusedxml # nosemgrep: python.lang.security.use-defused-xml.use-defused-xml
0 commit comments