summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2020-12-11 19:39:04 +0000
committerGerrit Code Review <gerrit@bbpush.zzzcomputing.com>2020-12-11 19:39:04 +0000
commit8e9e473dcb76b57a7f0eaa476481cb66a258ea69 (patch)
tree747ea77ecd32d7eb8b71d5d623aa95c511d91790 /lib/sqlalchemy/sql
parent5bf2074ca2e80aed4ac38b5684d606cc939d4d8c (diff)
parentba5cbf9366e9b2c5ed8e27e91815d7a2c3b63e41 (diff)
downloadsqlalchemy-8e9e473dcb76b57a7f0eaa476481cb66a258ea69.tar.gz
Merge "correct for "autocommit" deprecation warning"
Diffstat (limited to 'lib/sqlalchemy/sql')
-rw-r--r--lib/sqlalchemy/sql/schema.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/schema.py b/lib/sqlalchemy/sql/schema.py
index 4b19ff02a..b5e45c18d 100644
--- a/lib/sqlalchemy/sql/schema.py
+++ b/lib/sqlalchemy/sql/schema.py
@@ -2258,10 +2258,10 @@ class DefaultGenerator(SchemaItem):
"or in the ORM by the :meth:`.Session.execute` method of "
":class:`.Session`.",
)
- def execute(self, bind=None, **kwargs):
+ def execute(self, bind=None):
if bind is None:
bind = _bind_or_error(self)
- return bind.execute(self, **kwargs)
+ return bind._execute_default(self, (), util.EMPTY_DICT)
def _execute_on_connection(
self, connection, multiparams, params, execution_options