Error creating (partial) type stub for defusedxml
#2013
Labels
bug
Something isn't working
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Environment data
Expected behaviour
Type stub created successfully, probably only for imported interfaces but the whole module would be fine as well.
Actual behaviour
An error occurred when creating type stub for 'defusedxml.ElementTree': Import 'defusedxml.ElementTree' could not be resolved
Logs
Code Snippet / Additional information
This is a 3rd party package recommended by python.org.
I don't quite get why this import can't be resolved when generating type stub because it works fine in code, I get completions on
ET.
🤔Stub generation works fine if I import the whole module:
The text was updated successfully, but these errors were encountered: