get_actor_id#
- RuntimeContext.get_actor_id() str | None[source]#
Get the current actor ID in this worker.
ID of the actor of the current process. This shouldn’t be used in a driver process. The ID will be in hex format.
- Returns:
The current actor id in hex format in this worker. None if there’s no actor id.
- Return type:
str | None