]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Make schema support explicit
authorGord Thompson <gord@gordthompson.com>
Thu, 8 Apr 2021 23:22:34 +0000 (17:22 -0600)
committerGord Thompson <gord@gordthompson.com>
Fri, 9 Apr 2021 13:33:36 +0000 (07:33 -0600)
commita14303639e03fd295edf1f5fabf6d20b05b1870b
tree72626bfe996954a6b30dde205cba97a66402bed1
parentd868f7914cd0617d529a6067e8ec7843692f8937
Make schema support explicit

Add ``supports_schema = True`` to DefaultDialect and modify
requirements.py to use that attribute so third-party dialects
can explicitly indicate that they do *not* support schemas by
specifying ``supports_schema = False`` in their Dialect class.

Change-Id: Idffee82f6668a15ac7148f2a407a17de785d1fb7
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/testing/requirements.py
test/requirements.py