MCPcopy Create free account
hub / github.com/ray-project/ray / generate_actor_data

Function generate_actor_data

python/ray/tests/test_state_api_log.py:81–97  ·  view source on GitHub ↗
(id, node_id, worker_id)

Source from the content-addressed store, hash-verified

79
80
81async def generate_actor_data(id, node_id, worker_id):
82 if worker_id:
83 worker_id = worker_id.binary()
84 message = ActorTableData(
85 actor_id=id.binary(),
86 state=ActorTableData.ActorState.ALIVE,
87 name="abc",
88 pid=1234,
89 class_name="class",
90 address=Address(
91 node_id=node_id.binary(),
92 ip_address="127.0.0.1",
93 port=1234,
94 worker_id=worker_id,
95 ),
96 )
97 return message
98
99
100# Unit Tests (Log Agent)

Callers 1

Calls 2

AddressClass · 0.85
binaryMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…