MCPcopy Create free account
hub / github.com/PRBonn/vdbfusion / __cache_key__

Function __cache_key__

examples/python/utils/cache.py:36–38  ·  view source on GitHub ↗

Make key for cache given function arguments.

(*args, **kwargs)

Source from the content-addressed store, hash-verified

34 return result
35
36 def __cache_key__(*args, **kwargs):
37 """Make key for cache given function arguments."""
38 return args_to_key(base, args, kwargs, typed)
39
40 wrapper.__cache_key__ = __cache_key__
41 return wrapper

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected