mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 14:02:36 +08:00
Remove (object) from class declarations. (#6658)
This commit is contained in:
committed by
Philipp Moritz
parent
f1b56fa5ee
commit
39a3459886
+2
-2
@@ -30,7 +30,7 @@ logger = logging.getLogger(__name__)
|
||||
SESSION_LATEST = "session_latest"
|
||||
|
||||
|
||||
class Node(object):
|
||||
class Node:
|
||||
"""An encapsulation of the Ray processes on a single node.
|
||||
|
||||
This class is responsible for starting Ray processes and killing them,
|
||||
@@ -882,7 +882,7 @@ class Node(object):
|
||||
return not any(self.dead_processes())
|
||||
|
||||
|
||||
class LocalNode(object):
|
||||
class LocalNode:
|
||||
"""Imitate the node that manages the processes in local mode."""
|
||||
|
||||
def kill_all_processes(self, *args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user