Open anguelov opened 1 year ago
If task.id
is an integer, I think it should be task_id = uuid.UUID(int=task.id)
, no?
If
task.id
is an integer, I think it should betask_id = uuid.UUID(int=task.id)
, no?
In my case the id is a string
Hm. Good point. I never have the need to use something different than a UUID...
Having the same issue. We set custom IDs for the tasks in order to be able to track them more easily.
Makes no sense for this lib to check if the task IDs are actual UUIDs when Huey itself doesn't care, and allows to set custom IDs for the tasks
Huey has the api to define your own
task_id
when scheduling a task. If we set atask_id=123
the code inhuey_monitor/tasks.py: 53
it is forced thetask_id
to be a uuid.If we pass the task_id = 123 in the schedule task function, Huey_monitor signal will fail with error