Passing customized UUID to a task
I’m working with the python-huey 2.5.1
in a Python application and need to set custom task IDs for each task, rather than using the automatically generated uuid4 provided by Huey. I see in the docs there is one attribute called id in the Task
instance https://huey.readthedocs.io/en/latest/api.html#Task. TaskWrapper
instance also has one method s()
to create a task instance but I don’t see there is one argument https://huey.readthedocs.io/en/latest/api.html#TaskWrapper.s that allows users to pass customized uuid.