-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read MAPBOX_API_KEY from environment #16781
Labels
Comments
@frafra I would like to work on this issue if it is still open. |
@Lawful2002 sure, it is yours :) |
9 tasks
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
Not stale. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
All the settings are read from environment variables, except
MAPBOX_API_KEY
, which requires modifyingsuperset_config.py
.https://github.com/apache/superset/blob/master/docker/pythonpath_dev/superset_config.py
https://github.com/apache/superset/blob/a330b664c13e34a4c7ca954f9a3a527a43a5535f/docs/src/pages/docs/frequently-asked-questions-page.mdx#why-is-the-map-not-visible-in-the-geospatial-visualization
It would be better just to add
MAPBOX_API_KEY = get_env_variable("MAPBOX_API_KEY")
somewhere insuperset_config.py
and addMAPBOX_API_KEY=''
indocker/.env*
files, and update the documentation accordingly.The text was updated successfully, but these errors were encountered: