module documentation
Execution cache utils.
Function | resolve |
Resolves the cache key, store, and memory cache for a given function call, including scope-based keys. |
Function | _build |
Undocumented |
Function | _get |
Undocumented |
Function | _get |
Undocumented |
Function | _get |
Undocumented |
Function | _get |
Undocumented |
Function | _get |
Undocumented |
Function | _get |
Undocumented |
Function | _is |
Undocumented |
Function | _make |
Undocumented |
Function | _resolve |
Undocumented |
Function | _try |
Undocumented |
def resolve_cache_info(ctx, ctx_index, args, kwargs, key_fn, func, *, residency='transient', operator_scoped=False, user_scoped=False, prompt_scoped=False, jwt_scoped=False, collection_name=None, max_size=None):
(source)
¶
Resolves the cache key, store, and memory cache for a given function call, including scope-based keys.
Returns | |
A tuple | (cache_key, store, memory_cache, skip_cache) |