code: def partitioner(hash_func, total_partitions):
      def partition(key):
          return hash_func(key) % total_partitions
  
      return partition
  
label_desc: Use image node_id 1 for calling a global function with example usage: partitioner(hash_func, total_partitions) and returns: partition, unknown