mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore: enforce more ruff rules (#31447)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9da65d6bfd
commit
e51b95ffa8
@@ -176,7 +176,7 @@ class RedshiftEngineSpec(BasicParametersMixin, PostgresBaseEngineSpec):
|
||||
try:
|
||||
logger.info("Killing Redshift PID:%s", str(cancel_query_id))
|
||||
cursor.execute(
|
||||
"SELECT pg_cancel_backend(procpid) "
|
||||
"SELECT pg_cancel_backend(procpid) " # noqa: S608
|
||||
"FROM pg_stat_activity "
|
||||
f"WHERE procpid='{cancel_query_id}'"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user