- class AutoCleanConfig[source]¶
Removes config file if it has no values.
- class ForkingConfig(*args, **kwargs)[source]¶
Runs the actual save in a forked processes, making save non-blocking. It prevents two save() from being called at once by blocking on the previous one if it is not finished. It is also possible to call join() to wait for the save to complete.
- process = None¶
- class TimeBufferConfig(path, saved_since_seconds=None, last_run=True, logger=None, *args, **kwargs)[source]¶
Really saves only every saved_since_seconds seconds. It is possible to force save (e.g. at exit) with force_save().
- saved_since_seconds = None¶