MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / get

Method get

openkb/state.py:30–32  ·  view source on GitHub ↗

Return metadata for file_hash, or None if not found.

(self, file_hash: str)

Source from the content-addressed store, hash-verified

28 return file_hash in self._data
29
30 def get(self, file_hash: str) -> dict | None:
31 """Return metadata for file_hash, or None if not found."""
32 return self._data.get(file_hash)
33
34 def all_entries(self) -> dict[str, dict]:
35 """Return a shallow copy of all hash -> metadata entries."""

Callers 15

test_add_and_getFunction · 0.95
test_load_existing_jsonFunction · 0.95
convert_documentFunction · 0.95
resolve_entity_typesFunction · 0.45
resolve_extra_headersFunction · 0.45
resolve_timeoutFunction · 0.45
resolve_litellm_settingsFunction · 0.45
register_kbFunction · 0.45

Calls

no outgoing calls