Bryan Whiting
02/16/2023, 10:00 PMredsquare
02/16/2023, 10:36 PMBryan Whiting
02/16/2023, 10:36 PMredsquare
02/16/2023, 10:37 PMBryan Whiting
02/16/2023, 10:38 PMYou 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.