class_docstr: TorchServe 1.0 Model Loader
code: def _load_handler_file(self, handler):
      temp = handler.split(":", 1)
      module_name = temp[0]
      if module_name.endswith(".py"):
          module_name = module_name[:-3]
      module_name = module_name.split("/")[-1]
      module = importlib.import_module(module_name)
      function_name = None if len(temp) == 1 else temp[1]
      return module, function_name
  
imports: import importlib
  import json
  import logging
  import os
  import uuid
  from abc import ABCMeta, abstractmethod
  from builtins import str
  from typing import Optional
  from ts.metrics.metric_cache_yaml_impl import MetricsCacheYamlImpl
  from ts.service import Service
  from .utils.util import list_classes_from_module
label_desc: Use image node_id 2 for calling the TsModelLoader obj's underlying member method code with example usage: obj._load_handler_file(handler) and returns: module,  function_name