code: def run(self):
          
          self._runtime_initialize()
  
          if len(self._flattened_nodes) == 0:
              logger.warning("WARNING: Nothing to do. Try checking your model "
                             "configs and model specification args")
              return []
          else:
              logger.info("")
  
          selected_uids = frozenset(n.unique_id for n in self._flattened_nodes)
          result = self.execute_with_hooks(selected_uids)
  
          result.write(self.result_path())
  
          self.task_end_messages(result.results)
          return result.results
docs: Run dbt for the query, based on the graph.