user
TOC
- Attributes:
- Functions:
- 🅵 update_dict_recursively_on_missing_keys - Update dictionary B with keys from dictionary A. Add missing keys from A to B,
- 🅵 overwrite_create_local
- 🅵 read_create_local
- 🅵 set
- 🅵 get
Attributes
🅰 _GLOBAL_CONFIG
_GLOBAL_CONFIG = {
MACHINE_ID_KEY: str(uuid4()),
"vault": get_create_initial_neetbox_data_directory(),
"bypass-db-version-check": True,
}
🅰 _GLOBAL_CONFIG_FILE_NAME
_GLOBAL_CONFIG_FILE_NAME = f"""neetbox.global.toml"""
Functions
🅵 update_dict_recursively_on_missing_keys
def update_dict_recursively_on_missing_keys(A, B):
Update dictionary B with keys from dictionary A. Add missing keys from A to B,
but do not overwrite existing keys in B. Handles nested dictionaries recursively.
🅵 overwrite_create_local
def overwrite_create_local(config: dict):
🅵 read_create_local
def read_create_local():
🅵 set
def set(key, value):
🅵 get
def get(key=None):