code: def download(cls, fitting_id=0):
      model = cls(None, None)
      if fitting_id is None:
          model.fitting = model.last_fitting()
      else:
          model.fitting = lore.metadata.Fitting.get(fitting_id)
  
      if model.fitting is None:
          logger.warning(
              "Attempting to download a model from outside of the metadata store is deprecated and will be removed in 0.8.0"
          )
          model.fitting = lore.metadata.Fitting(id=fitting_id)
  
      try:
          lore.io.download(
              model.remote_weights_path(), model.weights_path()
          )
      except botocore.exceptions.ClientError as e:
          if e.response["Error"]["Code"] == "404":
              model.fitting.id = None
              logger.warning(
                  "Attempting to download a model without a fitting id is deprecated and will be removed in 0.8.0"
              )
              lore.io.download(
                  model.remote_weights_path(), model.weights_path()
              )
      return super(Base, cls).download(model.fitting.id)
  
imports: import os
  from os.path import join, dirname
  import logging
  import botocore
  import lore
  from lore.util import timer
  from lore.env import require
  import h5py
label_desc: Use image node_id 12 for calling the Base obj's underlying member method code with example usage: obj.download(cls, fitting_id) and returns: super