mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: taking db dependencies out of requirements-dev.txt (#7605)
* chore: taking db dependencies out of requirements-dev.txt The deps on mysqlclient and psycopg2 * Fix unit tests * fix tox.ini * fix tests
This commit is contained in:
committed by
GitHub
parent
1df4fa26c2
commit
859d6e7c6a
@@ -193,7 +193,7 @@ class ParsedQuery(object):
|
||||
"""returns the query with the specified limit"""
|
||||
"""does not change the underlying query"""
|
||||
if not self._limit:
|
||||
return f'{self.sql}\nLIMIT {new_limit}'
|
||||
return f'{self.stripped()}\nLIMIT {new_limit}'
|
||||
limit_pos = None
|
||||
tokens = self._parsed[0].tokens
|
||||
# Add all items to before_str until there is a limit
|
||||
|
||||
Reference in New Issue
Block a user