From: Mike Bayer Date: Tue, 17 Jul 2007 22:50:17 +0000 (+0000) Subject: typo X-Git-Tag: rel_0_4_6~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f1c5016afc6a835aa9492bca69078dfc66514c3;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git typo --- diff --git a/doc/build/content/unitofwork.txt b/doc/build/content/unitofwork.txt index f079407f1c..ef01189011 100644 --- a/doc/build/content/unitofwork.txt +++ b/doc/build/content/unitofwork.txt @@ -482,7 +482,7 @@ It's safe to use a `Session` which is transactional or autoflushing, as well as When using the `threadlocal` engine context, things are that much easier; the `Session` uses the same connection/transaction as everyone else in the current thread, whether or not you explicitly bind it: {python} - engine = create_engine('foo://', threadlocal=True) + engine = create_engine('postgres://mydb', strategy="threadlocal") engine.begin() sess = create_session() # session takes place in the transaction like everyone else