MCPcopy
hub / github.com/omkarcloud/botasaurus / CacheMissException

Class CacheMissException

botasaurus/cache.py:12–16  ·  view source on GitHub ↗

Exception raised when an item is not found in the cache.

Source from the content-addressed store, hash-verified

10
11
12class CacheMissException(Exception):
13 """Exception raised when an item is not found in the cache."""
14 def __init__(self, key):
15 self.key = key
16 super().__init__(f"Cache miss for key: '{key}'")
17
18def get_directory_path(file_path):
19 return os.path.dirname(file_path)

Callers 4

_getFunction · 0.70
getMethod · 0.70
get_item_by_hashMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected