mirror of
https://github.com/wassname/ray.git
synced 2026-07-26 13:37:24 +08:00
Remove (object) from class declarations. (#6658)
This commit is contained in:
committed by
Philipp Moritz
parent
f1b56fa5ee
commit
39a3459886
@@ -25,7 +25,7 @@ def test_actor_creation_node_failure(ray_start_cluster):
|
||||
cluster = ray_start_cluster
|
||||
|
||||
@ray.remote
|
||||
class Child(object):
|
||||
class Child:
|
||||
def __init__(self, death_probability):
|
||||
self.death_probability = death_probability
|
||||
|
||||
|
||||
Reference in New Issue
Block a user