class_docstr: Abstract base class that defines how users develop AnalyticDB Spark.
class_docstr_tok: ["Abstract","base","class","that","defines","how","users","develop","AnalyticDB","Spark","."]
code: def __init__(
      self,
      *,
      adb_spark_conn_id: str = "adb_spark_default",
      region: str | None = None,
      polling_interval: int = 0,
      **kwargs: Any,
  ) -> None:
      super().__init__(**kwargs)
  
      self.app_id: str | None = None
      self.polling_interval = polling_interval
  
      self._adb_spark_conn_id = adb_spark_conn_id
      self._region = region
  
imports: from __future__ import annotations
  import time
  from functools import cached_property
  from typing import TYPE_CHECKING, Any, Sequence
  from deprecated.classic import deprecated
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
  from airflow.models import BaseOperator
  from airflow.providers.alibaba.cloud.hooks.analyticdb_spark import AnalyticDBSparkHook, AppState
label_desc: Use image node_id 1 to create a new AnalyticDBSparkBaseOperator object from inherited base classes: BaseOperator with example: obj = AnalyticDBSparkBaseOperator()