Sterling Baird
08/28/2024, 3:24 PMcache_key_fn
(and the default one mentioned). It would help to see an example of a custom one.Sterling Baird
08/28/2024, 3:25 PMtask_input_hash
meaning, what's the hash (some unique, portable representation of all inputs) for the inputs/parameters of a task?Bianca Hoch
08/28/2024, 3:32 PMYou can define a task that is cached based on its inputs by using the Prefect. This is a task cache key implementation that hashes all inputs to the task using a JSON or cloudpickle serializer. If the task inputs do not change, the cached results are used rather than running the task until the cache expires.task_input_hash
Bianca Hoch
08/28/2024, 3:33 PMBianca Hoch
08/28/2024, 3:33 PMSterling Baird
08/28/2024, 3:34 PM