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
bug.py
bug.py:5:7 - error: Module cannot be used as a type (reportGeneralTypeIssues)
bug.py:5:19 - error: Module is not callable (reportCallIssue)
bug.py:6:13 - information: Type of "ImageView" is "Module(".ImageView")"
2 errors, 0 warnings, 1 information
1.1.409:
bug.py
bug.py:6:13 - information: Type of "ImageView" is "type[ImageView]"
0 errors, 0 warnings, 1 information
bug.py:5:7 - error: Module cannot be used as a type (reportGeneralTypeIssues)
bug.py:5:18 - error: Module is not callable (reportCallIssue)
bug.py:6:13 - information: Type of "PlotItem" is "Module("pyqtgraph.graphicsItems.PlotItem")"
Activity
rchiodo commentedon Jun 8, 2026
ImageView seems to be both a module and a class name. Not sure why we're treating it as a module now though.
rchiodo commentedon Jun 8, 2026
This would be a temporary workaround:
rgoya commentedon Jun 19, 2026
I'm seeing this too on code that uses
dash-bootstrap-components. For example, the following code:1.1.409reports:but
1.1.410reports:bersbersbers commentedon Jun 25, 2026
Thanks! I have a similar problem with
yet a similar workaround is not effective:
gives
eachimei commentedon Jun 29, 2026
FYI, similar issue:
error: Module is not callable (reportCallIssue)error: Module is not callable (reportCallIssue)Fix microsoft#11481: 1.1.410 detects type as module (microsoft#11501)