code: def get_node_id():
      return ray.get_runtime_context().get_node_id()
  
file_path: ray/python/ray/tests/test_node_label_scheduling_strategy.py
imports: import os
  import sys
  import pytest
  import ray
  from ray.util.scheduling_strategies import In, NotIn, Exists, DoesNotExist, NodeLabelSchedulingStrategy
label_desc: Use image node_id 1 for calling a global function with example usage: get_node_id() and returns: ray