code: def process_request_fn(model, data, input_content_type):
      if input_content_type == "text/s3_file_path":
          prediction_input = handle_s3_file_path(data)
      elif input_content_type == "application/json":
          prediction_input = handle_json_input(data)
      else:
          raise NotImplementedError(
              "This model doesnt support requested input type: "
              + input_content_type
          )
  
      return model.predict(prediction_input)
  
file_path: sagemaker-python-sdk/tests/data/mxnet_mnist/mnist_hosting_with_custom_handlers.py
imports: from __future__ import absolute_import
  import gzip
  import json
  import mxnet
  import numpy
  import os
  import struct
label_desc: Use image node_id 3 for calling a global function with example usage: process_request_fn(model, data, input_content_type) and returns: model