dropbox / sqlalchemy-stubs

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

Allow automatically named indices #124

Closed ludaavics closed 3 years ago

ludaavics commented 4 years ago

Hi,

mypy rejects Index(None, "column1", "column2") as it expects a string. However, we are allowed to pass None if we want to use the automated naming

Thanks!

ilevkivskyi commented 4 years ago

Thanks for reporting! PRs welcome.