mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
added docstring
This commit is contained in:
parent
545b2710fd
commit
b2a5120c83
1 changed files with 8 additions and 0 deletions
|
|
@ -228,6 +228,14 @@ class MongoSettingsHandler(SettingsHandler):
|
|||
return self._attribute_keys
|
||||
|
||||
def _extract_global_settings(self, data):
|
||||
"""Extract global settings data from system settings overrides.
|
||||
|
||||
This is now limited to "general" key in system settings which must be
|
||||
set as group in schemas.
|
||||
|
||||
Returns:
|
||||
dict: Global settings extracted from system settings data.
|
||||
"""
|
||||
output = {}
|
||||
if "general" not in data:
|
||||
return output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue