]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- at long last have gotten the "proxy_property" keyword
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 6 Aug 2010 22:53:22 +0000 (18:53 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 6 Aug 2010 22:53:22 +0000 (18:53 -0400)
commit6519b0c72cbae6778eff026815cc2b93cfeeabdf
treef13c7ae8ee1341a4a05c5b95209a34489a6889c0
parentc2700941f752963520bf66123cd3467ff4d742ad
- at long last have gotten the "proxy_property" keyword
arg of register_descriptor to not be needed.   synonym, comparable, concreteinherited
props now supply a descriptor directly in the class dict, whose
__get__(None, cls) supplies a QueryableAttribute.   The basic idea is that
the hybrid prop can be used for this.   Payoff here is arguable, except that
hybrid can be at the base of future synonym/comparable operations.
doc/build/mappers.rst
lib/sqlalchemy/ext/hybrid.py
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/util.py
test/orm/test_mapper.py