      >>> full_path_split(path)
      >>> ["foo", "baz", "bar"]
      """
      logger = logging.getLogger(__name__)  # pylint:disable=invalid-name
      allparts = []
      while True:
          parts = os.path.split(path)
          if parts[0] == path:   # sentinel for absolute paths
              allparts.insert(0, parts[0])
              break
 
</s> remove     logger.trace("path: %s, allparts: %s", path, allparts)
 </s> add     logger.trace("path: %s, allparts: %s", path, allparts)  # type:ignore </s> remove         return None
 </s> add         return "" </s> remove     def model_path(self):
        """ str: The model path(s) in the cache folder. """
        retval = [os.path.join(self._cache_dir, fname) for fname in self._model_filename]
        retval = retval[0] if len(retval) == 1 else retval
        self.logger.trace(retval)
 </s> add     def model_path(self) -> Union[str, List[str]]:
        """ str or list: The model path(s) in the cache folder. """
        paths = [os.path.join(self._cache_dir, fname) for fname in self._model_filename]
        retval: Union[str, List[str]] = paths[0] if len(paths) == 1 else paths
        self.logger.trace(retval)  # type: ignore </s> remove         fs_backend = config.get("backend", None)
        if fs_backend is None or fs_backend.lower() not in self._backends.values():
 </s> add         fs_backend = config.get("backend", "").lower()
        if not fs_backend or fs_backend not in self._backends.values(): </s> remove     def __init__(self, model_filename, git_model_id):
 </s> add     def __init__(self, model_filename: Union[str, List[str]], git_model_id: int) -> None:
    allparts: List[str] = []
      >>> full_path_split(path)
      >>> ["foo", "baz", "bar"]
      """
      logger = logging.getLogger(__name__)  # pylint:disable=invalid-name
    allparts: List[str] = []
      while True:
          parts = os.path.split(path)
          if parts[0] == path:   # sentinel for absolute paths
              allparts.insert(0, parts[0])
              break
keep keep keep keep replace keep keep keep keep keep
 lib.Utils - add DPI detector 
lib/utils.py