]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- fixed a bug in declarative test which was looking for old version of history
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 19 Aug 2008 21:27:34 +0000 (21:27 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 19 Aug 2008 21:27:34 +0000 (21:27 +0000)
commit427ed1966f0f9ce13df49dcdbe43ce48333e94fa
tree20c34c3a838c37c73828473ea47e889c51f1fe8f
parent20c82967ca98ceead88401ca8f35f8cf0e758318
- fixed a bug in declarative test which was looking for old version of history
- Added "sorted_tables" accessor to MetaData, which returns
Table objects sorted in order of dependency as a list.
This deprecates the MetaData.table_iterator() method.
The "reverse=False" keyword argument has also been
removed from util.sort_tables(); use the Python
'reversed' function to reverse the results.
[ticket:1033]
13 files changed:
CHANGES
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/schema.py
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/util.py
test/engine/_base.py
test/engine/reflection.py
test/ext/declarative.py
test/orm/_base.py
test/orm/_fixtures.py
test/orm/inheritance/basic.py
test/orm/inheritance/polymorph2.py
test/testlib/testing.py