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

Add a way to set & get general settings #2189

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Conversation

joeyballentine
Copy link
Member

@joeyballentine joeyballentine commented Sep 6, 2023

#2088 needs a way to set and get general settings for use by the backend. I have added that way of doing that in this PR, even though it is currently not used for anything.

In an ideal world, these general settings would also be defined by the backend. However, I don't want @stonerl to have to redo his whole PR more than he already has to. I'd much rather have him just adopt this system and we can move over stuff later.

If it's not clear, you would call setGeneralBackendSetting on the frontend to set a general setting, and from settings import get_global_settings to get the method that gets the settings.

@joeyballentine joeyballentine merged commit 32089fc into main Sep 6, 2023
@joeyballentine joeyballentine deleted the general-settings branch September 6, 2023 12:57
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