The django_dramatiq app creates a model with uuid to differentiate different tasks.
Now I'm trying to visualize the runs with some extra information generated during the run of the tasks.
In order to do that, I need a link this information with the task uuid in the table created by django_dramatiq.
Is there anyway that I can access the uuid inside the function?
@dramatiq.actor
def my_task():
# Is there anyway to access the uuid here?
The django_dramatiq app creates a model with
uuid
to differentiate different tasks.Now I'm trying to visualize the runs with some extra information generated during the run of the tasks. In order to do that, I need a link this information with the task uuid in the table created by django_dramatiq.
Is there anyway that I can access the uuid inside the function?