diff options
author | Jason Kirtland <jek@discorporate.us> | 2008-12-11 22:09:12 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2008-12-11 22:09:12 +0000 |
commit | 8d3fab1250fdb9e5cf389fcfa6a8c5f7f0ebbded (patch) | |
tree | 6504f1ebba8f31bd69478c52b1facbc35dc457eb /lib/sqlalchemy/engine/base.py | |
parent | f334da1f6b7cbe34567776abf67fab86580fadf2 (diff) | |
download | sqlalchemy-8d3fab1250fdb9e5cf389fcfa6a8c5f7f0ebbded.tar.gz |
Index entries for thread safety.
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
-rw-r--r-- | lib/sqlalchemy/engine/base.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index df9cfa729..fc7fd9056 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -507,8 +507,11 @@ class Connection(Connectable): as ClauseElement, Compiled and DefaultGenerator objects. Provides a begin method to return Transaction objects. - The Connection object is **not** threadsafe. - + The Connection object is **not** thread-safe. + + .. index:: + single: thread safety; Connection + """ def __init__(self, engine, connection=None, close_with_result=False, @@ -984,6 +987,10 @@ class Transaction(object): """Represent a Transaction in progress. The Transaction object is **not** threadsafe. + + .. index:: + single: thread safety; Transaction + """ def __init__(self, connection, parent): |