diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-05-15 17:57:30 +0200 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-05-15 17:57:30 +0200 |
commit | 5e07ebf4ea200483eb2acd4eb35176a2d29e7a24 (patch) | |
tree | 4fe811a7b8f45cae093c4cdb5dbb8098b5554bcb /lib/sqlalchemy/engine/reflection.py | |
parent | 2bfa43a4aece08cecf8663f4f282d6187b4ec6f1 (diff) | |
download | sqlalchemy-5e07ebf4ea200483eb2acd4eb35176a2d29e7a24.tar.gz |
implement support for __prepare__ declarative method. this signals that
the mapping should not be constructed immediately; instead, the info for
the mapping is placed into an interm object _MapperThingy which serves
as the mapper for the purposes of figuring out inheritance, etc. Later,
the prepare_deferred_mapping() function can be called given a base which
will invoke __prepare__ for each mapped class.
Diffstat (limited to 'lib/sqlalchemy/engine/reflection.py')
0 files changed, 0 insertions, 0 deletions