code: def get_field_value(java_obj, field_name):
      field = get_field(java_obj.getClass(), field_name)
      return field.get(java_obj)
  
file_path: flink/flink-python/pyflink/util/java_utils.py
imports: from datetime import timedelta
  from py4j.java_gateway import JavaClass, get_java_class, JavaObject
  from py4j.protocol import Py4JJavaError
  from pyflink.java_gateway import get_gateway
label_desc: Use image node_id 7 for calling a global function with example usage: get_field_value(java_obj, field_name) and returns: field