mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-04 01:50:08 +00:00
chroes: fix + lint
This commit is contained in:
parent
51df0ee022
commit
cc5564af23
@ -345,7 +345,14 @@ class Database:
|
|||||||
return [
|
return [
|
||||||
d[0]
|
d[0]
|
||||||
for d in results
|
for d in results
|
||||||
if d[0] not in ["information_schema", "performance_schema", "sys", "mysql", "knowledge_management"]
|
if d[0]
|
||||||
|
not in [
|
||||||
|
"information_schema",
|
||||||
|
"performance_schema",
|
||||||
|
"sys",
|
||||||
|
"mysql",
|
||||||
|
"knowledge_management",
|
||||||
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
def convert_sql_write_to_select(self, write_sql):
|
def convert_sql_write_to_select(self, write_sql):
|
||||||
|
Loading…
Reference in New Issue
Block a user