code: def get_from_ray(
      idx, redis_address, redis_password, idx_to_store_name
  ):
      init_ray_if_not(redis_address, redis_password)
      local_store_handle = ray.get_actor(idx_to_store_name[idx])
      partition = ray.get(local_store_handle.get_partition.remote(idx))
      return partition
  
imports: from collections import defaultdict
  import ray
  import ray._private.services
  import uuid
  import random
  from packaging import version
  from zoo.orca.data import XShards
  from zoo.ray import RayContext
  import logging
label_desc: Use image node_id 3 for calling a global function with example usage: get_from_ray(idx, redis_address, redis_password, idx_to_store_name) and returns: partition