summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/elements.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2020-02-02 11:39:37 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2020-03-23 14:06:13 -0400
commit0a4f7f38ce2b878a4e59da74373938b64bbb6e92 (patch)
tree736194f482f6efde4638e72e5e83c09c7a04493e /lib/sqlalchemy/sql/elements.py
parentfd74bd8eea3f3696c43ca0336ed4e437036c43c5 (diff)
downloadsqlalchemy-0a4f7f38ce2b878a4e59da74373938b64bbb6e92.tar.gz
Remove deprecated elements from selectable.py; remove lockmode
Removed autocommit and legacy "for update" / "lockmode" elements from selectable.py / query.py. lockmode was removed from selectable in 693938dd6fb2f3ee3e031aed4c62355ac97f3ceb however was not removed from the ORM. Also removes the ignore_nonexistent_tables option on join(). Change-Id: I0cfcf9e6a8d4ef6432c9e25ef75173b3b3f5fd87 Partially-fixes: #4643
Diffstat (limited to 'lib/sqlalchemy/sql/elements.py')
-rw-r--r--lib/sqlalchemy/sql/elements.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/sqlalchemy/sql/elements.py b/lib/sqlalchemy/sql/elements.py
index 843732f67..5a10611ad 100644
--- a/lib/sqlalchemy/sql/elements.py
+++ b/lib/sqlalchemy/sql/elements.py
@@ -1535,9 +1535,7 @@ class TextClause(
),
)
@_document_text_coercion("text", ":func:`.text`", ":paramref:`.text.text`")
- def _create_text(
- self, text, bind=None, bindparams=None, typemap=None,
- ):
+ def _create_text(self, text, bind=None, bindparams=None, typemap=None):
r"""Construct a new :class:`.TextClause` clause, representing
a textual SQL string directly.