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.

    View commits