Skip to content

Commit

Permalink
Removed duplicate MAPBOX_API_KEY assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
nexovec committed Sep 9, 2024
1 parent 35696b8 commit 12e4f8c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docker/pythonpath_dev/superset_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ class CeleryConfig:
}
SUPERSET_FEATURE_EMBEDDED_SUPERSET = True

# Set this API key to enable Mapbox visualizations
MAPBOX_API_KEY = ""
MAPBOX_API_KEY = env('MAPBOX_API_KEY', '')

#
# Optionally import superset_config_docker.py (which will have been included on
Expand All @@ -138,9 +137,6 @@ class CeleryConfig:
except ImportError:
logger.info("Using default Docker config...")

# Set this API key to enable Mapbox visualizations
MAPBOX_API_KEY = ""

LOG_LEVEL = "DEBUG"

from flask_appbuilder.security.manager import AUTH_OAUTH
Expand Down Expand Up @@ -180,4 +176,4 @@ class CeleryConfig:
LANGUAGES = {
"en":{"flag":"us", "name": "English"},
"cs":{"flag":"cz", "name": "Čeština"}
}
}

0 comments on commit 12e4f8c

Please sign in to comment.