MCPcopy
hub / github.com/ray-project/ray / get_actor_node_id

Function get_actor_node_id

python/ray/_private/test_utils.py:1671–1676  ·  view source on GitHub ↗
(actor_handle: "ray.actor.ActorHandle")

Source from the content-addressed store, hash-verified

1669
1670
1671def 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

Callers 15

mainFunction · 0.90
test_p2pFunction · 0.90
test_multiple_receiversFunction · 0.90
test_static_shapeFunction · 0.90
test_direct_returnFunction · 0.90
test_put_local_getFunction · 0.90
test_read_timeoutFunction · 0.90
test_write_timeoutFunction · 0.90
setupMethod · 0.90

Calls 4

get_runtime_contextMethod · 0.80
getMethod · 0.65
remoteMethod · 0.45
get_node_idMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…