code: def test_get_multiple(ray_start_regular_shared):
      object_refs = [ray.put(i) for i in range(10)]
      assert ray.get(object_refs) == list(range(10))
  
      # Get a random choice of object refs with duplicates.
      indices = [random.choice(range(10)) for i in range(5)]
      indices += indices
      results = ray.get([object_refs[i] for i in indices])
      assert results == indices
  
imports: import array
  import logging
  import os
  import random
  import subprocess
  import sys
  import tempfile
  import threading
  import time
  from unittest.mock import MagicMock, patch
  import pytest
  from ray._private.ray_constants import KV_NAMESPACE_FUNCTION_TABLE
  from ray._private.test_utils import client_test_enabled
  from ray.cluster_utils import Cluster, cluster_not_supported
  from ray.exceptions import GetTimeoutError, RayTaskError
  from ray.tests.client_test_utils import create_remote_signal_actor
label_desc: Use image node_id 9 for calling a global function with example usage: test_get_multiple(ray_start_regular_shared) without return types