mirror of
https://github.com/wassname/ray.git
synced 2026-07-28 11:25:04 +08:00
[xlang] Cross language serialization for ActorHandle (#10335)
This commit is contained in:
@@ -297,7 +297,8 @@ cdef prepare_args(
|
||||
if language != Language.PYTHON:
|
||||
if metadata not in [
|
||||
ray_constants.OBJECT_METADATA_TYPE_CROSS_LANGUAGE,
|
||||
ray_constants.OBJECT_METADATA_TYPE_RAW]:
|
||||
ray_constants.OBJECT_METADATA_TYPE_RAW,
|
||||
ray_constants.OBJECT_METADATA_TYPE_ACTOR_HANDLE]:
|
||||
raise Exception("Can't transfer {} data to {}".format(
|
||||
metadata, language))
|
||||
size = serialized_arg.total_bytes
|
||||
|
||||
Reference in New Issue
Block a user