From 3f1c5016afc6a835aa9492bca69078dfc66514c3 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 17 Jul 2007 22:50:17 +0000 Subject: [PATCH] typo --- doc/build/content/unitofwork.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3