huey v1.1.2 Release Notes
-
I've added a new API for fetching a task's result given on the task's ID. You can now call
huey.result(task_id)
and retrieve the result if the task has โ finished executing. Additionally, the Huey.result โ method accepts the same parameters as AsyncData.get, ๐ allowing you to block for results, specify a timeout, etc.There is also a new parameter on the above methods,
preserve=False
. By 0๏ธโฃ default, the result store will delete a task result once it has been read. Specifying ๐preserve=True
ensures the data is not removed.