mirror of
https://github.com/wassname/ray.git
synced 2026-07-15 11:25:40 +08:00
Remove (object) from class declarations. (#6658)
This commit is contained in:
committed by
Philipp Moritz
parent
f1b56fa5ee
commit
39a3459886
@@ -12,7 +12,7 @@ logger.setLevel("DEBUG")
|
||||
|
||||
|
||||
# Stream partitioning schemes
|
||||
class PScheme(object):
|
||||
class PScheme:
|
||||
def __init__(self, strategy, partition_fn=None):
|
||||
self.strategy = strategy
|
||||
self.partition_fn = partition_fn
|
||||
@@ -51,7 +51,7 @@ class OpType(enum.Enum):
|
||||
|
||||
|
||||
# A logical dataflow operator
|
||||
class Operator(object):
|
||||
class Operator:
|
||||
def __init__(self,
|
||||
id,
|
||||
op_type,
|
||||
|
||||
Reference in New Issue
Block a user