-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
priority: regressionSomething that worked before doesn't work anymoreSomething that worked before doesn't work anymorestubs: false positiveType checkers report false errorsType checkers report false errors
Description
The following produces sql.py:4: error: Argument 1 to "join" of "SQL" has incompatible type "list[Composable]"; expected "SupportsIter[Composable]" [arg-type]
from psycopg2.sql import SQL, Identifier
SQL(" ").join([SQL("SELECT * FROM"), Identifier("table")])Just started happening and this seems related: #10630 (comment)
Full example: https://github.com/fivepapertigers/psycopg2-mypy-issue/tree/main
Metadata
Metadata
Assignees
Labels
priority: regressionSomething that worked before doesn't work anymoreSomething that worked before doesn't work anymorestubs: false positiveType checkers report false errorsType checkers report false errors