Remove (object) from class declarations. (#6658)

This commit is contained in:
Robert Nishihara
2020-01-02 17:42:13 -08:00
committed by Philipp Moritz
parent f1b56fa5ee
commit 39a3459886
162 changed files with 397 additions and 398 deletions
+3 -3
View File
@@ -31,7 +31,7 @@ def _hash(value):
return int(hashlib.sha1(value).hexdigest(), 16)
class DataChannel(object):
class DataChannel:
"""A data channel for actor-to-actor communication.
Attributes:
@@ -62,7 +62,7 @@ _CLOSE_FLAG = b" "
# Pulls and merges data from multiple input channels
class DataInput(object):
class DataInput:
"""An input gate of an operator instance.
The input gate pulls records from all input channels in a round-robin
@@ -124,7 +124,7 @@ class DataInput(object):
# Selects output channel(s) and pushes data
class DataOutput(object):
class DataOutput:
"""An output gate of an operator instance.
The output gate pushes records to output channels according to the