]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Document and test __table_cls__
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 26 Sep 2017 00:00:20 +0000 (20:00 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 26 Sep 2017 15:38:18 +0000 (11:38 -0400)
commit04bbad660bcbb7b920f3e75110a7b1187d9ddc38
tree570a52f98b23ece6c49ed1db9a584535065c490c
parent1b0b35f254f545dbeb3ad6e2215ba24ae1c02894
Document and test __table_cls__

A use case has been identified for __table_cls__, which was
added in 1.0 just for the purpose of test fixtures.   Add this to
public API and ensure the target use case (conditional table generation)
stays supported.

Change-Id: I87be5bcb72205cab89871fa586663bf147450995
Fixes: #4082
doc/build/orm/extensions/declarative/api.rst
test/ext/declarative/test_basic.py