mirror of
https://github.com/wassname/ray.git
synced 2026-07-30 12:30:30 +08:00
This reverts commit 1b1466748f.
This commit is contained in:
@@ -68,7 +68,7 @@ class OutputCollector(Collector):
|
||||
python_buffer = self.python_serializer.serialize(record)
|
||||
self._writer.write(
|
||||
self._channel_ids[partition_index],
|
||||
bytes([serialization.PYTHON_TYPE_ID]) + python_buffer)
|
||||
serialization._PYTHON_TYPE_ID + python_buffer)
|
||||
else:
|
||||
# avoid repeated serialization
|
||||
if cross_lang_buffer is None:
|
||||
@@ -76,5 +76,4 @@ class OutputCollector(Collector):
|
||||
record)
|
||||
self._writer.write(
|
||||
self._channel_ids[partition_index],
|
||||
bytes([serialization.CROSS_LANG_TYPE_ID]) +
|
||||
cross_lang_buffer)
|
||||
serialization._CROSS_LANG_TYPE_ID + cross_lang_buffer)
|
||||
|
||||
Reference in New Issue
Block a user