diff options
| author | Priit Laes <plaes@plaes.org> | 2014-06-28 12:46:46 +0300 |
|---|---|---|
| committer | Priit Laes <plaes@plaes.org> | 2014-06-28 12:46:46 +0300 |
| commit | eb5f398a01db4e1df615eb7a5d01187122e47f26 (patch) | |
| tree | 613469cd015161ace38b8af8ecbd2036af7eb161 /lib/sqlalchemy/orm/events.py | |
| parent | 8c337099852333d6c3587b35168af9b1af171487 (diff) | |
| download | sqlalchemy-eb5f398a01db4e1df615eb7a5d01187122e47f26.tar.gz | |
typo: s/tranasction/transaction
Diffstat (limited to 'lib/sqlalchemy/orm/events.py')
| -rw-r--r-- | lib/sqlalchemy/orm/events.py | 2 |
1 files changed, 1 insertions, 1 deletions
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. |
