Skip to content

Commit

Permalink
SA20: Remove leftover backlog comment
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Jan 30, 2023
1 parent 71a7f0a commit 2a78044
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/crate/client/sqlalchemy/compat/core20.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,18 +133,6 @@ def visit_update(self, update_stmt, **kw):
text += ', '.join(set_clauses)
# [20] CrateDB patch end.

"""
# TODO: Complete SA20 migration.
# This is the column name/value joining code from SA20.
# It may be sensible to use this procedure instead of the old one.
text += ", ".join(
expr + "=" + value
for _, expr, value, _ in cast(
"List[Tuple[Any, str, str, Any]]", crud_params
)
)
"""

if self.implicit_returning or update_stmt._returning:
if self.returning_precedes_values:
text += " " + self.returning_clause(
Expand Down

0 comments on commit 2a78044

Please sign in to comment.