dropbox / sqlalchemy-stubs

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

Support UUID=True #185

Open tdamsma opened 3 years ago

tdamsma commented 3 years ago

Follow up of #95

SQLAlchemy allows setting UUID columns to either a string representation of a UUID (e.g '46260785-9b7e-4a59-824f-af994a510673') or to a Python uuid.UUID object.

Fixes #94

Includes #179 as the build is broken without it

Unfortunately we need support for typing.Literal which is only available for python >= 3.8, so with older versions nothing has changed.

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 all sign our Contributor License Agreement before we can accept your contribution.
0 out of 2 committers have signed the CLA.

:x: Keigo Kawamura
:x: tdamsma


Keigo Kawamura seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.