Bryan Whiting02/16/2023, 10:00 PM
redsquare02/16/2023, 10:36 PM
Bryan Whiting02/16/2023, 10:36 PM
Bryan Whiting02/16/2023, 10:38 PM
You can define a task that is cached based on its inputs by using the Prefect task_input_hash. 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.