]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- express most of the orm.util functions in terms of the inspection system
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 16 Jul 2012 21:29:02 +0000 (17:29 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 16 Jul 2012 21:29:02 +0000 (17:29 -0400)
commitce9a702dbd52946487f45b98ef20d1b7783facb6
tree7273a1982850bf9975509295d766053d4fe822b1
parent1dc09bf6ede97ef08b2c8c0886a03b44bba735ff
- express most of the orm.util functions in terms of the inspection system
- modify inspection system:
1. raise a new exception for any case where the inspection
        context can't be returned.  this supersedes the "not mapped"
        errors.
        2. don't configure mappers on a mapper inspection.  this allows
        the inspectors to be used during mapper config time.  instead,
        the mapper configures on "with_polymorphic_selectable" now,
        which is needed for all queries
- add a bunch of new "is_XYZ" attributes to inspectors
- finish making the name change of "compile" -> "configure", for some reason
this was only done partially
17 files changed:
lib/sqlalchemy/exc.py
lib/sqlalchemy/ext/declarative.py
lib/sqlalchemy/ext/hybrid.py
lib/sqlalchemy/inspection.py
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/events.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/state.py
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/sql/expression.py
test/base/test_inspect.py
test/ext/test_hybrid.py
test/orm/test_inspect.py
test/orm/test_mapper.py