code: def _get_model_base(model: object) -> type:
      """Placeholder docstring"""
      model_base = model.__class__.__base__
  
      # for cases such as xgb.Booster where there is no inherited base class
      if object == model_base:
          model_base = model.__class__
  
      return model_base
  
file_path: sagemaker-python-sdk/src/sagemaker/serve/detector/image_detector.py
imports: from __future__ import absolute_import
  from typing import Tuple, List
  import platform
  import re
  import logging
  from packaging import version
  from sagemaker import image_uris
label_desc: Use image node_id 7 for calling a global function with example usage: _get_model_base(model) and returns: model_base