SettingsDict¶
- class bpod_core.misc.SettingsDict ¶
Bases:
MutableMapping[str,Any]A dictionary-like persistent settings storage backed by a JSON file.
This class implements the MutableMapping interface, storing key-value pairs that are automatically persisted to a JSON file on every write. It supports standard dictionary operations (get, set, delete, iterate) as well as nested key access.
File access is protected by a file lock for safe concurrent access from multiple processes.
- get_nested(keys, default=None) ¶
Retrieve a nested value using a sequence of keys.