fiftyone.operators.cache.utils#

Execution cache utils.

Copyright 2017-2025, Voxel51, Inc.

Functions:

resolve_cache_info(ctx, ctx_index, args, ...)

Resolves the cache key, store, and memory cache for a given function call, including scope-based keys.

fiftyone.operators.cache.utils.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)#

Resolves the cache key, store, and memory cache for a given function call, including scope-based keys.

Returns:

(cache_key, store, memory_cache, skip_cache)

Return type:

A tuple