class documentation
Lock the index while making modifications.
Works as a context manager.
| Method | __enter__ |
Enter context manager and lock index. |
| Method | __exit__ |
Exit context manager and unlock index. |
| Method | __init__ |
Initialize locked_index. |
| Instance Variable | _file |
Undocumented |
| Instance Variable | _index |
Undocumented |
| Instance Variable | _path |
Undocumented |
def __exit__(self, exc_type:
type | None, exc_value: BaseException | None, traceback: types.TracebackType | None):
¶
Exit context manager and unlock index.