code: def handler(base_model_context):
      handler = BaseHandler()
      handler.initialize(base_model_context)
  
      return handler
  
imports: import os
  import pytest
  from ts.torch_handler.base_handler import BaseHandler, PROFILER_AVAILABLE
label_desc: Use image node_id 1 for calling a global function with example usage: handler(base_model_context) and returns: handler