Implementation reference. These symbols describe how the project works; their presence here does not make them supported application imports. Use the documented entry points and support policy.
@dataclass(frozen=True)classUISettings:service_url:strallow_writes:bool=Falsepublic_url:str|None=None# Display scoping only: the backend verifies each task's operator lineage itself.operator_subclasses:tuple[str,...]=()snapshot_ttl:float=DEFAULT_SNAPSHOT_TTL@classmethoddeffrom_environment(cls)->UISettings:returncls(service_url=normalize_service_url(getenv("SPARK_ON_K8S_AIRFLOW_SERVICE_URL","")),public_url=normalize_service_url(getenv("SPARK_ON_K8S_AIRFLOW_PUBLIC_URL"))ifgetenv("SPARK_ON_K8S_AIRFLOW_PUBLIC_URL")elseNone,allow_writes=getenv("SPARK_ON_K8S_AIRFLOW_ALLOW_WRITES","false").lower()=="true",operator_subclasses=parse_operator_subclasses(getenv("SPARK_ON_K8S_AIRFLOW_OPERATOR_SUBCLASSES")),snapshot_ttl=parse_snapshot_ttl(getenv("SPARK_ON_K8S_AIRFLOW_SNAPSHOT_TTL")),)@propertydeftask_operators(self)->list[str]:"""Operator class names whose task instances show the native tab."""return[*PROVIDER_OPERATORS,*self.operator_subclasses]