From 6df16c4b1f4b1fcfe23cf1bca41ea39e9d28240f Mon Sep 17 00:00:00 2001 From: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Date: Tue, 10 Aug 2021 21:00:34 -0400 Subject: [PATCH] feat: CLI cleanup (#16178) * added google alert * removing datasets from cli --- superset/cli.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/superset/cli.py b/superset/cli.py index 789402f9b..0382054da 100755 --- a/superset/cli.py +++ b/superset/cli.py @@ -124,8 +124,9 @@ def load_examples_run( examples.load_css_templates() - print("Loading energy related dataset") - examples.load_energy(only_metadata, force) + if load_test_data: + print("Loading energy related dataset") + examples.load_energy(only_metadata, force) print("Loading [World Bank's Health Nutrition and Population Stats]") examples.load_world_bank_health_n_pop(only_metadata, force) @@ -138,21 +139,12 @@ def load_examples_run( examples.load_tabbed_dashboard(only_metadata) if not load_test_data: - print("Loading [Random time series data]") - examples.load_random_time_series_data(only_metadata, force) - print("Loading [Random long/lat data]") examples.load_long_lat_data(only_metadata, force) print("Loading [Country Map data]") examples.load_country_map_data(only_metadata, force) - print("Loading [Multiformat time series]") - examples.load_multiformat_time_series(only_metadata, force) - - print("Loading [Paris GeoJson]") - examples.load_paris_iris_geojson(only_metadata, force) - print("Loading [San Francisco population polygons]") examples.load_sf_population_polygons(only_metadata, force)