Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/msiemens/tinydb
/ is_cacheable
Method
is_cacheable
tinydb/queries.py:76–77 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
74
self._hash = hashval
75
76
def
is_cacheable(self) -> bool:
77
return
self._hash is not None
78
79
def
__call__(self, value: Mapping) -> bool:
80
""
"
Callers
6
__and__
Method · 0.95
__or__
Method · 0.95
__invert__
Method · 0.95
__getattr__
Method · 0.80
_generate_test
Method · 0.80
test_query_cache_with_mutable_callable
Function · 0.80
Calls
no outgoing calls
Tested by
1
test_query_cache_with_mutable_callable
Function · 0.64