summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/events.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-01-08 17:46:55 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2019-01-11 22:09:53 -0500
commita6094d6682c956ce8a77fbec2a2700f901f3e75e (patch)
tree39b9e21f3bf0270cf8fe11dbc6fabb73c9cb5f14 /lib/sqlalchemy/events.py
parent1e278de4cc9a4181e0747640a960e80efcea1ca9 (diff)
downloadsqlalchemy-a6094d6682c956ce8a77fbec2a2700f901f3e75e.tar.gz
use ..deprecated directive w/ version in all cases
These changes should be ported from 1.3 back to 1.0 or possibly 0.9 to the extent they are relevant in each version. In 1.3 we hope to turn all deprecation documentation into warnings. Change-Id: I205186cde161af9389af513a425c62ce90dd54d8
Diffstat (limited to 'lib/sqlalchemy/events.py')
-rw-r--r--lib/sqlalchemy/events.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sqlalchemy/events.py b/lib/sqlalchemy/events.py
index 01e7b454b..bfeb290a0 100644
--- a/lib/sqlalchemy/events.py
+++ b/lib/sqlalchemy/events.py
@@ -799,8 +799,10 @@ class ConnectionEvents(event.Events):
:param exception: The **unwrapped** exception emitted directly from the
DBAPI. The class here is specific to the DBAPI module in use.
- .. deprecated:: 0.9.7 - replaced by
- :meth:`.ConnectionEvents.handle_error`
+ .. deprecated:: 0.9 - The :meth:`.ConnectionEvents.dbapi_error`
+ event is deprecated and will be removed in a future release.
+ Please refer to the :meth:`.ConnectionEvents.handle_error`
+ event.
"""