From eb5f398a01db4e1df615eb7a5d01187122e47f26 Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Sat, 28 Jun 2014 12:46:46 +0300 Subject: typo: s/tranasction/transaction --- lib/sqlalchemy/orm/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/sqlalchemy/orm/events.py b/lib/sqlalchemy/orm/events.py index e64cb8c92..2656abfca 100644 --- a/lib/sqlalchemy/orm/events.py +++ b/lib/sqlalchemy/orm/events.py @@ -1315,7 +1315,7 @@ class SessionEvents(event.Events): .. note:: - The :class:`.Session` is not in an active tranasction + The :class:`.Session` is not in an active transaction when the :meth:`~.SessionEvents.after_commit` event is invoked, and therefore can not emit SQL. To emit SQL corresponding to every transaction, use the :meth:`~.SessionEvents.before_commit` event. -- cgit v1.2.1