Skip to content

Commit

Permalink
feat: CLI cleanup (apache#16178)
Browse files Browse the repository at this point in the history
* added google alert

* removing datasets from cli

(cherry picked from commit 6df16c4)
  • Loading branch information
AAfghahi authored and Steven Uray committed Aug 11, 2021
1 parent cce369e commit 81d2d32
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions superset/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)

Expand Down

0 comments on commit 81d2d32

Please sign in to comment.