summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/base.py
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2020-09-08 22:11:29 +0000
committerGerrit Code Review <gerrit@bbpush.zzzcomputing.com>2020-09-08 22:11:29 +0000
commit28138ee6fbc1273f1bf16699927e09db81ae7870 (patch)
tree6ff31265f8f975359d24725dee689b9d5d08f14c /lib/sqlalchemy/sql/base.py
parent73fda6d1a85b6245675a05381d79d65685beab18 (diff)
parente8600608669d90c4a6385b312d271aed63eb5854 (diff)
downloadsqlalchemy-28138ee6fbc1273f1bf16699927e09db81ae7870.tar.gz
Merge "Update select usage to use the new 1.4 format"
Diffstat (limited to 'lib/sqlalchemy/sql/base.py')
-rw-r--r--lib/sqlalchemy/sql/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/base.py b/lib/sqlalchemy/sql/base.py
index dc2804691..67ee8c907 100644
--- a/lib/sqlalchemy/sql/base.py
+++ b/lib/sqlalchemy/sql/base.py
@@ -825,7 +825,7 @@ class Executable(Generative):
The :meth:`execution_options` method is generative. A new
instance of this statement is returned that contains the options::
- statement = select([table.c.x, table.c.y])
+ statement = select(table.c.x, table.c.y)
statement = statement.execution_options(autocommit=True)
Note that only a subset of possible execution options can be applied