code: def __init__(self, params: EstimateQueryCostSchema) -> None:
      self._database_id = params.get("database_id")
      self._sql = params.get("sql", "")
      self._template_params = params.get("template_params", {})
      self._schema = params.get("schema", "")
  
file_path: superset/superset/commands/sql_lab/estimate.py
imports: from __future__ import annotations
  import logging
  from typing import Any
  from flask_babel import gettext
  from superset import app, db
  from superset.commands.base import BaseCommand
  from superset.errors import ErrorLevel, SupersetError, SupersetErrorType
  from superset.exceptions import SupersetErrorException, SupersetTimeoutException
  from superset.jinja_context import get_template_processor
  from superset.models.core import Database
  from superset.sqllab.schemas import EstimateQueryCostSchema
  from superset.utils import core
label_desc: Use image node_id 1 to create a new QueryEstimationCommand object from inherited base classes: BaseCommand with example: obj = QueryEstimationCommand(params)