Mike Bayer 32e5c6096a Upgrade exc_filters for 'engine' argument and connect behavior
This patch applies upgrades to the sqlalchemy/exc_filters.py and
sqlalchemy/compat/handle_error.py compatibility layers to accommodate
new changes in SQLAlchemy 1.0.  SQLA 1.0 will now route errors that
occur upon connect through the handle_error() event, just like any other,
so that when 1.0 is present we no longer need to use
exc_filters.handle_connect_error; the method becomes a passthrough
as far as running the event handler.  Additionally, SQLAlchemy 1.0
has added the "engine" parameter to ExceptionContext, specifically
to suit the case when the initial connect has failed and there is
no Connection object; the compatibility layer here now emulates
this behavior for SQLAlchemy versions prior to 1.0.

Change-Id: I61714f3c32625a621eaba501d20346519b8b12c7
2014-12-06 15:58:22 -05:00
2014-09-04 16:27:00 -04:00
2014-09-09 19:13:03 +03:00
2014-04-18 11:33:16 +03:00
2014-09-04 16:27:00 -04:00
2014-04-30 16:55:51 +02:00
2014-04-18 11:33:16 +03:00
2014-04-18 12:51:26 +03:00
2014-04-18 11:33:16 +03:00
2014-09-01 11:40:08 +02:00
2014-04-18 11:33:16 +03:00
2014-04-18 11:33:16 +03:00
2014-06-06 12:47:17 +03:00
2014-09-04 16:27:00 -04:00
2014-05-29 13:46:40 +00:00
2014-10-31 20:39:59 +00:00

Overview

oslo.db library

Description
OpenStack Common DB Code
Readme 14 MiB
Languages
Python 99.6%
Shell 0.4%