I have import statements at the beginning of my PY file with red squiggly lines under them - they do not cause the script to fail). When I hover over the import, is says:
"unresolved reference - the inspection detects names that should resolve but don't. Due to dynamic dispatch and duck type, this is possible in a useful but limited number of cases. Top-level and class-level items are supported better than some instance items."
This is not fatal since the script typically runs fine but I occasionally get weird errors with imports. Why does this happen? How can I correct it? Thank you!