MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / load_existing_database

Function load_existing_database

benchmarks/src/utils/benchmark.py:62–66  ·  view source on GitHub ↗

Loads an existing database from a file.

(path: Path)

Source from the content-addressed store, hash-verified

60
61
62def load_existing_database(path: Path) -> Database:
63 """
64 Loads an existing database from a file.
65 """
66 return Database.from_file(path)
67
68
69def load_or_create_database(workdir: Path) -> Database:

Callers 3

summary_textFunction · 0.90
summary_htmlFunction · 0.90
serve_htmlFunction · 0.90

Calls 1

from_fileMethod · 0.80

Tested by

no test coverage detected