Skip to content
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

feanil/move to derived settings #36123

Closed
wants to merge 11 commits into from
Closed

Conversation

feanil
Copy link
Contributor

@feanil feanil commented Jan 16, 2025

  • refactor: Clean up production.py cruft (without changing any settings)
  • refactor: more of the same
  • refactor: more more
  • refactor: done?
  • temp: style fixes
  • temp: Move down the EMAIL_FILE_PATH setting.
  • fix: YAML_TOKENS -> _YAML_TOKENS
  • refactor: simplify THIRD_PARTY_AUTH_SAML_FETCH_PERIOD_HOURS
  • fix: more typos
  • docs: comments in lms envs prod
  • refactor: Use derived_settings to lazy load settings.

kdmccormick and others added 11 commits January 16, 2025 13:53
This setting can be overridden in the YAML or derived from a setting
that can change based  on the YAML so it should be loaded explicitly
using _YAML_TOKENS
Some of our settings depend on the values of other settings.  Rather
than explicitly looking up each one in the YAML settings file, we can
simply derive them based on the setting in the YAML file after all the
YAML settings have been loaded.
@feanil feanil closed this Jan 16, 2025
@feanil feanil deleted the feanil/move_to_derived_settings branch January 16, 2025 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants