code: def __init__(self, properties: dict[str, Any]):
      self._properties = properties.copy()
      self._model: Optional[Database] = None
  
file_path: superset/superset/commands/database/validate.py
imports: import json
  from contextlib import closing
  from typing import Any, Optional
  from flask_babel import gettext
  from superset.commands.base import BaseCommand
  from superset.commands.database.exceptions import DatabaseOfflineError, DatabaseTestConnectionFailedError, InvalidEngineError, InvalidParametersError
  from superset.daos.database import DatabaseDAO
  from superset.databases.utils import make_url_safe
  from superset.db_engine_specs import get_engine_spec
  from superset.errors import ErrorLevel, SupersetError, SupersetErrorType
  from superset.extensions import event_logger
  from superset.models.core import Database
label_desc: Use image node_id 1 to create a new ValidateDatabaseParametersCommand object from inherited base classes: BaseCommand with example: obj = ValidateDatabaseParametersCommand(properties)