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

Method has

botasaurus/cache.py:279–282  ·  view source on GitHub ↗
(func, key_data)

Source from the content-addressed store, hash-verified

277
278 @staticmethod
279 def has(func, key_data):
280 _create_cache_directory_if_not_exists(func)
281 path = _get_cache_path(func, key_data)
282 return _has(path)
283
284 @staticmethod
285 def get(func, key_data, raise_exception=True):

Callers 3

parseBooleanFunction · 0.45
addMethod · 0.45
sectionMethod · 0.45

Calls 3

_get_cache_pathFunction · 0.85
_hasFunction · 0.70

Tested by

no test coverage detected