ray.runtime_env.RuntimeEnv.serialize_combined#

classmethod RuntimeEnv.serialize_combined(serialized_runtime_env: str, serialized_allocated_instances) str[source]#

Combines two serialized strings into a single serialized representation.

Parameters:
  • serialized_runtime_env – The serialized representation of the runtime environment.

  • serialized_allocated_instances – The serialized representation of the allocated instances.

Returns:

A combined serialized string, with the two inputs concatenated using “&&” as a separator.

Return type:

str