sqlalchemy-stubs icon indicating copy to clipboard operation
sqlalchemy-stubs copied to clipboard

select([text('*')]) doesn't type

Open victornoel opened this issue 5 years ago • 0 comments

I may be missing something, but apparently the following code:

select([text('*')])

Gives this type error: List item 0 has incompatible type "TextClause"; expected "Union[ColumnElement[Any], FromClause, int]"

I would have expected to be able to write the above, it works well at runtime.

victornoel avatar Dec 10 '19 13:12 victornoel