(actor_handle: "ray.actor.ActorHandle")
| 1669 | |
| 1670 | |
| 1671 | def get_actor_node_id(actor_handle: "ray.actor.ActorHandle") -> str: |
| 1672 | return ray.get( |
| 1673 | actor_handle.__ray_call__.remote( |
| 1674 | lambda self: ray.get_runtime_context().get_node_id() |
| 1675 | ) |
| 1676 | ) |
| 1677 | |
| 1678 | |
| 1679 | @contextmanager |
no test coverage detected
searching dependent graphs…