This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 9907db9e1a feat: add a note to install cors-related dependency when
using ENABLE_CORS (#32662)
9907db9e1a is described below
commit 9907db9e1a6492c9d22ae21125115862d4ca6cba
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Fri Mar 14 10:33:31 2025 -0700
feat: add a note to install cors-related dependency when using ENABLE_CORS
(#32662)
---
superset/config.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/superset/config.py b/superset/config.py
index d36fe30f69..2d16d43290 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -817,6 +817,8 @@ EXPLORE_FORM_DATA_CACHE_CONFIG: CacheConfig = {
STORE_CACHE_KEYS_IN_METADATA_DB = False
# CORS Options
+# NOTE: enabling this requires installing the cors-related python dependencies
+# `pip install .[cors]` or `pip install apache-superset[cors]`, depending
ENABLE_CORS = False
CORS_OPTIONS: dict[Any, Any] = {}