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
sa.and_(
tb.c.VERSION == version,
tb.c.ISIN.in_(isins) if isins is not None else True,
tb.c.ISIN != None, # pylint: disable=singleton-comparison
b.c.DATE.in_(dates))
)
Error I get from pyright is:
error: Argument of type "ColumnElement[Boolean] | Literal[True]" cannot be assigned to parameter "clauses" of type "_CLE@BooleanClauseList" in function "and_"
Type "ColumnElement[Boolean] | Literal[True]" cannot be assigned to type "ColumnElement[Boolean]"
"Literal[True]" is incompatible with "ColumnElement[Boolean]" (reportGeneralTypeIssues)
The text was updated successfully, but these errors were encountered:
Relevant block of code:
Error I get from pyright is:
The text was updated successfully, but these errors were encountered: