libtextworker 0.1.4
Cross-platform, free and open library for Python projects

◆ restore()

def libtextworker.get_config.GetConfig.restore (   this,
dict[str, str] | None  keys,
str  optional_path 
)
@since 0.1.4
Restore options.
@param keys (dict[str, str] or None): Keys + options to restore.
    Optional but self.backups must not be empty.
@param optional_path (str): The name says it all. If specified,
    both this path and self._file will be written.
You can also use move() function for a more complex method.

Definition at line 163 of file get_config.py.