mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 16:46:43 +08:00
[core worker] Python core worker object interface (#5272)
This commit is contained in:
@@ -230,6 +230,12 @@ class Node(object):
|
||||
"""Get the node's plasma store socket name."""
|
||||
return self._plasma_store_socket_name
|
||||
|
||||
@property
|
||||
def unique_id(self):
|
||||
"""Get a unique identifier for this node."""
|
||||
return "{}:{}".format(self.node_ip_address,
|
||||
self._plasma_store_socket_name)
|
||||
|
||||
@property
|
||||
def webui_url(self):
|
||||
"""Get the cluster's web UI url."""
|
||||
|
||||
Reference in New Issue
Block a user