mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +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
|
return self._attribute_keys
|
||||||
|
|
||||||
def _extract_global_settings(self, data):
|
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 = {}
|
output = {}
|
||||||
if "general" not in data:
|
if "general" not in data:
|
||||||
return output
|
return output
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue