code: def validate(self) -> None:
      table = (
          db.session.query(SqlaTable)
          .join(Database)
          .filter(
              Database.database_name == self._db_name,
              SqlaTable.table_name == self._table_name,
          )
      ).one_or_none()
      if not table:
          raise WarmUpCacheTableNotFoundError()
      self._charts = (
          db.session.query(Slice)
          .filter_by(datasource_id=table.id, datasource_type=table.type)
          .all()
      )
  
file_path: superset/superset/commands/dataset/warm_up_cache.py
imports: from typing import Any, Optional
  from superset.commands.base import BaseCommand
  from superset.commands.chart.warm_up_cache import ChartWarmUpCacheCommand
  from superset.commands.dataset.exceptions import WarmUpCacheTableNotFoundError
  from superset.connectors.sqla.models import SqlaTable
  from superset.extensions import db
  from superset.models.core import Database
  from superset.models.slice import Slice
label_desc: Use image node_id 3 for calling the DatasetWarmUpCacheCommand obj's underlying member method code with example usage: obj.validate() without return types