code: def get_workers():
      raylet = ray.nodes()[0]
      raylet_address = "{}:{}".format(
          raylet["NodeManagerAddress"], raylet["NodeManagerPort"]
      )
      channel = init_grpc_channel(raylet_address)
      stub = node_manager_pb2_grpc.NodeManagerServiceStub(channel)
      return [
          worker
          for worker in stub.GetNodeStats(
              node_manager_pb2.GetNodeStatsRequest()
          ).core_workers_stats
          if worker.worker_type != common_pb2.DRIVER
      ]
  
file_path: ray/python/ray/tests/test_multi_tenancy.py
imports: import os
  import sys
  import time
  import pytest
  import numpy
  import ray
  from ray.core.generated import common_pb2
  from ray.core.generated import node_manager_pb2, node_manager_pb2_grpc
  from ray._private.test_utils import wait_for_condition, run_string_as_driver, run_string_as_driver_nonblocking
  from ray._private.utils import init_grpc_channel
label_desc: Use image node_id 1 for calling a global function with example usage: get_workers() and returns: unknown