code: def run(self) -> Model:
      self.validate()
      if self._model:
          try:
              self._model.fetch_metadata()
              return self._model
          except Exception as ex:
              logger.exception(ex)
              raise DatasetRefreshFailedError() from ex
      raise DatasetRefreshFailedError()
  
file_path: superset/superset/commands/dataset/refresh.py
imports: import logging
  from typing import Optional
  from flask_appbuilder.models.sqla import Model
  from superset import security_manager
  from superset.commands.base import BaseCommand
  from superset.commands.dataset.exceptions import DatasetForbiddenError, DatasetNotFoundError, DatasetRefreshFailedError
  from superset.connectors.sqla.models import SqlaTable
  from superset.daos.dataset import DatasetDAO
  from superset.exceptions import SupersetSecurityException
label_desc: Use image node_id 2 for calling the RefreshDatasetCommand obj's underlying member method code with example usage: obj.run() and returns: self