      def _url_partial_size(self):
          """ float: How many bytes have already been downloaded. """
          zip_file = self._model_zip_path
          retval = os.path.getsize(zip_file) if os.path.exists(zip_file) else 0
          self.logger.trace(retval)
          return retval
  
      def _get(self):
          """ Check the model exists, if not, download the model, unzip it and place it in the
          model's cache folder. """
 
</s> remove     def _get(self):
 </s> add     def _get(self) -> None: </s> remove     def _url_partial_size(self):
        """ float: How many bytes have already been downloaded. """
 </s> add     def _url_partial_size(self) -> int:
        """ int: How many bytes have already been downloaded. """ </s> remove         self.logger.trace("Download url: %s", retval)
 </s> add         self.logger.trace("Download url: %s", retval)  # type: ignore </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         self.logger.trace(retval)
 </s> add         self.logger.trace(retval)  # type: ignore
        self.logger.trace(retval)  # type: ignore
      def _url_partial_size(self):
          """ float: How many bytes have already been downloaded. """
          zip_file = self._model_zip_path
          retval = os.path.getsize(zip_file) if os.path.exists(zip_file) else 0
        self.logger.trace(retval)  # type: ignore
          return retval
  
      def _get(self):
          """ Check the model exists, if not, download the model, unzip it and place it in the
          model's cache folder. """
keep keep keep keep replace keep keep keep keep keep
 lib.Utils - add DPI detector 
lib/utils.py