From d0b5e1cd31b27b83ef33060cdc2dd3f7cb916faa Mon Sep 17 00:00:00 2001 From: Kyle D McCormick Date: Thu, 25 Jun 2026 10:18:05 -0400 Subject: [PATCH 1/2] fix: Silence spurious warning about missing STORAGE_CLASS key --- openedx/envs/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openedx/envs/common.py b/openedx/envs/common.py index 31b0015d34d9..5a4ed6bf54dc 100644 --- a/openedx/envs/common.py +++ b/openedx/envs/common.py @@ -1533,6 +1533,8 @@ def add_optional_apps(optional_apps, installed_apps): # For more information, check https://github.com/openedx/edx-platform/pull/13388 and # https://github.com/openedx/edx-platform/pull/14571. TASK_MAX_RETRIES=5, + + STORAGE_CLASS=None, # Resolved to default storage. ) ################################ Bulk Email ################################ From 273777abdf0b9cc942a0ea31d9ba5789b3456699 Mon Sep 17 00:00:00 2001 From: Kyle D McCormick Date: Thu, 25 Jun 2026 12:31:31 -0400 Subject: [PATCH 2/2] fix: Silence Swagger deprecation warning --- openedx/envs/common.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openedx/envs/common.py b/openedx/envs/common.py index 5a4ed6bf54dc..a6276a2e54e0 100644 --- a/openedx/envs/common.py +++ b/openedx/envs/common.py @@ -2161,9 +2161,14 @@ def add_optional_apps(optional_apps, installed_apps): LEARNER_PROGRESS_PROMPT_FOR_ACTIVE_CONTRACT = '' LEARNER_PROGRESS_PROMPT_FOR_NON_ACTIVE_CONTRACT = '' +########################## SWAGGER & OPEN API ############################### + # How long to cache OpenAPI schemas and UI, in seconds. OPENAPI_CACHE_TIMEOUT = 60 * 60 +# Silences a Swagger (API docs) depr warning that doesn't apply to us. +SWAGGER_USE_COMPAT_RENDERERS = False + ################################### AWS #################################### AWS_QUERYSTRING_AUTH = True