Skip to content

Commit 8607330

Browse files
committed
undo redash_stmo disable
1 parent af38c41 commit 8607330

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

redash/query_runner/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,8 @@ def get_configuration_schema_for_query_runner_type(query_runner_type):
443443

444444
def import_query_runners(query_runner_imports):
445445
for runner_import in query_runner_imports:
446+
if "redash_stmo" in runner_import:
447+
continue
446448
__import__(runner_import)
447449

448450

redash/settings/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ def email_server_is_configured():
347347
)
348348
additional_query_runners = array_from_string(os.environ.get("REDASH_ADDITIONAL_QUERY_RUNNERS", ""))
349349
disabled_query_runners = array_from_string(os.environ.get("REDASH_DISABLED_QUERY_RUNNERS", ""))
350+
disabled_query_runners.append("redash_stmo.query_runner.activedata") # for testing
350351

351352
QUERY_RUNNERS = remove(
352353
set(disabled_query_runners),

0 commit comments

Comments
 (0)