diff --git a/superset/config.py b/superset/config.py index e4dc202537ac..582c16d74dc9 100644 --- a/superset/config.py +++ b/superset/config.py @@ -63,7 +63,9 @@ from superset.utils.encrypt import SQLAlchemyUtilsAdapter from superset.utils.log import DBEventLogger from superset.utils.logging_configurator import DefaultLoggingConfigurator +from dotenv import load_dotenv +load_dotenv() logger = logging.getLogger(__name__) if TYPE_CHECKING: