From: Mike Bayer Date: Fri, 10 May 2019 00:32:04 +0000 (-0400) Subject: - fix long line X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ddb864c8399dbcf8b7cec9627ea6629f15351c0b;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - fix long line Change-Id: If44d364ae02da447169a3dc51b6514225578cf82 (cherry picked from commit 3abced7bd2842d41e17f438a65efc15aa71d4bb4) --- diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index 566c5ce212..2e8cf59fb6 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -278,7 +278,8 @@ class HasPrefixes(object): stmt = table.insert().prefix_with("LOW_PRIORITY", dialect="mysql") # MySQL 5.7 optimizer hints - stmt = select([table]).prefix_with("/*+ BKA(t1) */", dialect="mysql") + stmt = select([table]).prefix_with( + "/*+ BKA(t1) */", dialect="mysql") Multiple prefixes can be specified by multiple calls to :meth:`.prefix_with`.