From b72fd7b9f404043543bc05f4e401118a5346d142 Mon Sep 17 00:00:00 2001 From: Beto Dealmeida Date: Thu, 5 Aug 2021 10:53:22 -0700 Subject: [PATCH] fix: load tabbed dash only for tests (#16091) --- superset/cli.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/superset/cli.py b/superset/cli.py index 334ee02df..789402f9b 100755 --- a/superset/cli.py +++ b/superset/cli.py @@ -133,8 +133,9 @@ def load_examples_run( print("Loading [Birth names]") examples.load_birth_names(only_metadata, force) - print("Loading [Tabbed dashboard]") - examples.load_tabbed_dashboard(only_metadata) + if load_test_data: + print("Loading [Tabbed dashboard]") + examples.load_tabbed_dashboard(only_metadata) if not load_test_data: print("Loading [Random time series data]")