dropbox / sqlalchemy-stubs

Mypy plugin and stubs for SQLAlchemy
Apache License 2.0
570 stars 101 forks source link

Add extra Query method types #153

Open tiangolo opened 4 years ago

tiangolo commented 4 years ago

Add extra Query method types.

I passed through each of the Query methods without return types and checked the docs for each one of them, I added the types for the ones that don't modify the return columns, so the same _Q query (or _T type) can be used.

There's a chance that some of the methods I left un-annotated could actually be safely annotated, but I'm not really sure, so I decided to leave them as they are.

CLAassistant commented 2 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.