diff options
author | Chris Wilson <chris+github@qwirx.com> | 2018-12-10 16:37:51 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-12-10 22:31:21 -0500 |
commit | 65ea042302693492cbaee96dfed5e9337e0d96a4 (patch) | |
tree | 5faf860067f6360e8d049b3aa09817aa1e8ed0df /lib/sqlalchemy/dialects/postgresql/pg8000.py | |
parent | 0d4c0c1a279525e09659e21488348718743c33f9 (diff) | |
download | sqlalchemy-65ea042302693492cbaee96dfed5e9337e0d96a4.tar.gz |
Add before_mapper_configured event
This event is intended to allow a specific mapper to be skipped during the
configure step, by returning a value of `.orm.interfaces.EXT_SKIP` which means
the mapper will be skipped within this configure run. The "new mappers" flag
will remain set in this case and the configure operation will occur again.
This event, and its return value, make it possible to query one base while a
different one still needs configuration, which cannot be completed at this
time.
Fixes: #4397
Change-Id: I122e556f6a4ff842ad15315dcf39e19bb7f9a744
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4403
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/pg8000.py')
0 files changed, 0 insertions, 0 deletions