dropbox / dropbox/sqlalchemy-stubs

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

Open
#130 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
583
Forks
96
PR merge metrics
No merged PRs in 30d

Description

I may be missing something, but apparently the following code:
```py
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.