sqlalchemy-stubs
sqlalchemy-stubs copied to clipboard
select([text('*')]) doesn't type
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.