refactor: cleanup parameters of open_library and open_sqlite_library (#1294)

This commit is contained in:
Jann Stute
2026-05-09 04:36:01 +02:00
committed by GitHub
parent 47d4de5825
commit 910d2b735d
3 changed files with 33 additions and 31 deletions

View File

@@ -33,7 +33,7 @@ def cwd():
def file_mediatypes_library():
lib = Library()
status = lib.open_library(Path(""), ":memory:")
status = lib.open_library(Path(""), in_memory=True)
assert status.success
folder = unwrap(lib.folder)
@@ -84,7 +84,7 @@ def library(request, library_dir: Path): # pyright: ignore
library_path = Path(request.param)
lib = Library()
status = lib.open_library(library_path, ":memory:")
status = lib.open_library(library_path, in_memory=True)
assert status.success
folder = unwrap(lib.folder)