class_docstr: This should be a pickable class.
class_docstr_tok: ["This","should","be","a","pickable","class","."]
code: def _get_spark_executor_pid():
      # TODO: This might not work on OS other than Linux
      this_pid = os.getpid()
      pyspark_daemon_pid = get_parent_pid(this_pid)
      spark_executor_pid = get_parent_pid(pyspark_daemon_pid)
      return spark_executor_pid
  
imports: import os
  import re
  import subprocess
  import time
  import uuid
  import random
  import warnings
  import tempfile
  import filelock
  import multiprocessing
  from packaging import version
  from zoo.ray.process import session_execute, ProcessMonitor
  from zoo.ray.utils import is_local
  from zoo.ray.utils import resource_to_bytes
  from zoo.ray.utils import get_parent_pid
label_desc: Use image node_id 7 for calling the RayServiceFuncGenerator obj's underlying member method code with example usage: obj._get_spark_executor_pid() and returns: spark_executor_pid