diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-05-09 20:32:04 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-05-09 20:32:04 -0400 |
| commit | 3abced7bd2842d41e17f438a65efc15aa71d4bb4 (patch) | |
| tree | f3864dd053aec5ca4b663256fe0184943dd92dc3 /lib/sqlalchemy/sql/selectable.py | |
| parent | 1a3792c3b3af9b945862686b6d54a855342a5331 (diff) | |
| download | sqlalchemy-3abced7bd2842d41e17f438a65efc15aa71d4bb4.tar.gz | |
- fix long line
Change-Id: If44d364ae02da447169a3dc51b6514225578cf82
Diffstat (limited to 'lib/sqlalchemy/sql/selectable.py')
| -rw-r--r-- | lib/sqlalchemy/sql/selectable.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index ff9ab984e..5167182fe 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -166,7 +166,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`. |
