From a13a383e90632bd099716c9c3389a2c1a34b6c02 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Thu, 16 Jan 2025 15:48:31 -0500 Subject: [PATCH] fixup! refactor: Use `derived_settings` to lazy load settings. --- lms/envs/production.py | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/lms/envs/production.py b/lms/envs/production.py index 99a69174b7e5..555258a0f1f6 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -194,24 +194,24 @@ def _generate_default_enterprise_consent_api_url(settings): # Note the order of this matters, don't sort this list. derived( - CC_MERCHANT_NAME, - EMAIL_FILE_PATH, - LMS_INTERNAL_ROOT_URL, - SHARED_COOKIE_DOMAIN, - BULK_EMAIL_ROUTING_KEY, - BULK_EMAIL_ROUTING_KEY_SMALL_JOBS, - ENTITLEMENTS_EXPIRATION_ROUTING_KEY, - ID_VERIFICATION_SUPPORT_LINK, - PASSWORD_RESET_SUPPORT_LINK, - ACTIVATION_EMAIL_SUPPORT_LINK, - LOGIN_ISSUE_SUPPORT_LINK, - GRADES_DOWNLOAD_ROUTING_KEY, - CREDENTIALS_GENERATION_ROUTING_KEY, - PROGRAM_CERTIFICATES_ROUTING_KEY, - SOFTWARE_SECURE_VERIFICATION_ROUTING_KEY, - ENTERPRISE_PUBLIC_ENROLLMENT_API_URL, - ENTERPRISE_API_URL, - ENTERPRISE_CONSENT_API_URL, + 'CC_MERCHANT_NAME', + 'EMAIL_FILE_PATH', + 'LMS_INTERNAL_ROOT_URL', + 'SHARED_COOKIE_DOMAIN', + 'BULK_EMAIL_ROUTING_KEY', + 'BULK_EMAIL_ROUTING_KEY_SMALL_JOBS', + 'ENTITLEMENTS_EXPIRATION_ROUTING_KEY', + 'ID_VERIFICATION_SUPPORT_LINK', + 'PASSWORD_RESET_SUPPORT_LINK', + 'ACTIVATION_EMAIL_SUPPORT_LINK', + 'LOGIN_ISSUE_SUPPORT_LINK', + 'GRADES_DOWNLOAD_ROUTING_KEY', + 'CREDENTIALS_GENERATION_ROUTING_KEY', + 'PROGRAM_CERTIFICATES_ROUTING_KEY', + 'SOFTWARE_SECURE_VERIFICATION_ROUTING_KEY', + 'ENTERPRISE_PUBLIC_ENROLLMENT_API_URL', + 'ENTERPRISE_API_URL', + 'ENTERPRISE_CONSENT_API_URL', )