code: def get_public_partitions():
      public_partitions = None
      if FLAGS.public_partitions is not None:
          public_partitions = [
              int(partition) for partition in FLAGS.public_partitions
          ]
      return public_partitions
  
file_path: pipelinedp/examples/movie_view_ratings/run_all_frameworks.py
imports: from absl import app
  from absl import flags
  from apache_beam.runners.portability import fn_api_runner
  import pyspark
  from examples.movie_view_ratings.common_utils import *
  import pipeline_dp
label_desc: Use image node_id 4 for calling a global function with example usage: get_public_partitions() and returns: public_partitions