How to find actor information



Suppose I have this actor:
def do_something(x, y):
    id_ = … # How to get access to ‘self’ here?
    print(f"My uuid is {id_}")

How can I access actor related data from within the actor?



There is currently no built-in way to “bind” a message to an actor like that. What’s your use case here?


Mainly logging using the id, but I guess the [Thread-5] [dramatiq.worker.WorkerThread] would be sufficient?