0.1.dev2184+g1e0cbe7.d20250401
flytekit.core.local_cache
Directory
Classes
Class |
Description |
LocalTaskCache |
This class implements a persistent store able to cache the result of local task executions. |
Variables
Property |
Type |
Description |
CACHE_LOCATION |
str |
|
flytekit.core.local_cache.LocalTaskCache
This class implements a persistent store able to cache the result of local task executions.
Methods
clear()
get()
def get(
task_name: str,
cache_version: str,
input_literal_map: flytekit.models.literals.LiteralMap,
cache_ignore_input_vars: typing.Tuple[str, ...],
) -> typing.Optional[flytekit.models.literals.LiteralMap]
Parameter |
Type |
task_name |
str |
cache_version |
str |
input_literal_map |
flytekit.models.literals.LiteralMap |
cache_ignore_input_vars |
typing.Tuple[str, ...] |
initialize()
set()
def set(
task_name: str,
cache_version: str,
input_literal_map: flytekit.models.literals.LiteralMap,
cache_ignore_input_vars: typing.Tuple[str, ...],
value: flytekit.models.literals.LiteralMap,
)
Parameter |
Type |
task_name |
str |
cache_version |
str |
input_literal_map |
flytekit.models.literals.LiteralMap |
cache_ignore_input_vars |
typing.Tuple[str, ...] |
value |
flytekit.models.literals.LiteralMap |