summaryrefslogtreecommitdiff
path: root/oslo/db/sqlalchemy/compat/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'oslo/db/sqlalchemy/compat/__init__.py')
-rw-r--r--oslo/db/sqlalchemy/compat/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/oslo/db/sqlalchemy/compat/__init__.py b/oslo/db/sqlalchemy/compat/__init__.py
index 1510dd0..aaaf200 100644
--- a/oslo/db/sqlalchemy/compat/__init__.py
+++ b/oslo/db/sqlalchemy/compat/__init__.py
@@ -16,11 +16,13 @@ added at some point but for which oslo.db provides a compatible versions
for previous SQLAlchemy versions.
"""
+from oslo.db.sqlalchemy.compat import engine_connect as _e_conn
from oslo.db.sqlalchemy.compat import handle_error as _h_err
# trying to get: "from oslo.db.sqlalchemy import compat; compat.handle_error"
# flake8 won't let me import handle_error directly
+engine_connect = _e_conn.engine_connect
handle_error = _h_err.handle_error
ExceptionContextImpl = _h_err.ExceptionContextImpl
-__all__ = ['handle_error', 'ExceptionContextImpl']
+__all__ = ['engine_connect', 'handle_error', 'ExceptionContextImpl']