brickflow.engine.compute.Cluster(name: str, spark_version: str, node_type_id: Optional[str] = None, data_security_mode: str = DataSecurityMode.SINGLE_USER, existing_cluster_id: Optional[str] = None, num_workers: Optional[int] = None, min_workers: Optional[int] = None, max_workers: Optional[int] = None, dlt_auto_scale_mode: Optional[str] = None, spark_conf: Optional[Dict[str, str]] = None, aws_attributes: Optional[Dict[str, Any]] = None, driver_node_type_id: Optional[str] = None, custom_tags: Optional[Dict[str, str]] = None, init_scripts: Optional[List[Dict[str, str]]] = None, spark_env_vars: Optional[Dict[str, str]] = None, enable_elastic_disk: Optional[bool] = None, driver_instance_pool_id: Optional[str] = None, instance_pool_id: Optional[str] = None, runtime_engine: Optional[Literal['STANDARD', 'PHOTON']] = None, policy_id: Optional[str] = None)
dataclass
¶aws_attributes: Optional[Dict[str, Any]] = None
class-attribute
instance-attribute
¶custom_tags: Optional[Dict[str, str]] = None
class-attribute
instance-attribute
¶data_security_mode: str = DataSecurityMode.SINGLE_USER
class-attribute
instance-attribute
¶dlt_auto_scale_mode: Optional[str] = None
class-attribute
instance-attribute
¶driver_instance_pool_id: Optional[str] = None
class-attribute
instance-attribute
¶driver_node_type_id: Optional[str] = None
class-attribute
instance-attribute
¶enable_elastic_disk: Optional[bool] = None
class-attribute
instance-attribute
¶existing_cluster_id: Optional[str] = None
class-attribute
instance-attribute
¶init_scripts: Optional[List[Dict[str, str]]] = None
class-attribute
instance-attribute
¶instance_pool_id: Optional[str] = None
class-attribute
instance-attribute
¶is_new_job_cluster: bool
property
¶job_task_field_dict: Dict[str, str]
property
¶max_workers: Optional[int] = None
class-attribute
instance-attribute
¶min_workers: Optional[int] = None
class-attribute
instance-attribute
¶name: str
instance-attribute
¶node_type_id: Optional[str] = None
class-attribute
instance-attribute
¶num_workers: Optional[int] = None
class-attribute
instance-attribute
¶policy_id: Optional[str] = None
class-attribute
instance-attribute
¶runtime_engine: Optional[Literal['STANDARD', 'PHOTON']] = None
class-attribute
instance-attribute
¶spark_conf: Optional[Dict[str, str]] = None
class-attribute
instance-attribute
¶spark_env_vars: Optional[Dict[str, str]] = None
class-attribute
instance-attribute
¶spark_version: str
instance-attribute
¶__hash__() -> int
¶__post_init__() -> None
¶as_dict(is_dlt_cluster: bool = False, allowed_fields: Optional[List[str]] = None, remove_fields: Optional[List[str]] = None) -> Dict[str, Any]
¶brickflow/engine/compute.py
autoscale(is_dlt_cluster: bool = False) -> Dict[str, Any]
¶brickflow/engine/compute.py
cleanup(d: Dict[str, Any], allowed_fields: Optional[List[str]] = None, remove_fields: Optional[List[str]] = None) -> None
staticmethod
¶brickflow/engine/compute.py
from_existing_cluster(existing_cluster_id: str) -> 'Cluster'
classmethod
¶brickflow/engine/compute.py
validate() -> None
¶brickflow/engine/compute.py
brickflow.engine.compute.Runtimes
¶RUNTIME_10_4_X_AARCH64_PHOTON_SCALA2_12_LTS = '10.4.x-aarch64-photon-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_10_4_X_AARCH64_SCALA2_12_LTS = '10.4.x-aarch64-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_10_4_X_CPU_ML_SCALA2_12_LTS = '10.4.x-cpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_10_4_X_GPU_ML_SCALA2_12_LTS = '10.4.x-gpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_10_4_X_PHOTON_SCALA2_12_LTS = '10.4.x-photon-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_10_4_X_SCALA2_12_LTS = '10.4.x-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_10_5_X_AARCH64_PHOTON_SCALA2_12 = '10.5.x-aarch64-photon-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_10_5_X_AARCH64_SCALA2_12 = '10.5.x-aarch64-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_10_5_X_CPU_ML_SCALA2_12 = '10.5.x-cpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_10_5_X_GPU_ML_SCALA2_12 = '10.5.x-gpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_10_5_X_PHOTON_SCALA2_12 = '10.5.x-photon-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_10_5_X_SCALA2_12 = '10.5.x-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_0_X_AARCH64_PHOTON_SCALA2_12 = '11.0.x-aarch64-photon-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_0_X_AARCH64_SCALA2_12 = '11.0.x-aarch64-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_0_X_CPU_ML_SCALA2_12 = '11.0.x-cpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_0_X_GPU_ML_SCALA2_12 = '11.0.x-gpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_0_X_PHOTON_SCALA2_12 = '11.0.x-photon-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_0_X_SCALA2_12 = '11.0.x-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_1_X_AARCH64_PHOTON_SCALA2_12 = '11.1.x-aarch64-photon-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_1_X_AARCH64_SCALA2_12 = '11.1.x-aarch64-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_1_X_CPU_ML_SCALA2_12 = '11.1.x-cpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_1_X_GPU_ML_SCALA2_12 = '11.1.x-gpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_1_X_PHOTON_SCALA2_12 = '11.1.x-photon-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_1_X_SCALA2_12 = '11.1.x-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_2_X_AARCH64_PHOTON_SCALA2_12 = '11.2.x-aarch64-photon-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_2_X_AARCH64_SCALA2_12 = '11.2.x-aarch64-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_2_X_CPU_ML_SCALA2_12 = '11.2.x-cpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_2_X_GPU_ML_SCALA2_12 = '11.2.x-gpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_2_X_PHOTON_SCALA2_12 = '11.2.x-photon-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_2_X_SCALA2_12 = '11.2.x-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_3_X_AARCH64_PHOTON_SCALA2_12 = '11.3.x-aarch64-photon-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_3_X_AARCH64_SCALA2_12 = '11.3.x-aarch64-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_3_X_CPU_ML_SCALA2_12 = '11.3.x-cpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_3_X_GPU_ML_SCALA2_12 = '11.3.x-gpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_3_X_PHOTON_SCALA2_12 = '11.3.x-photon-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_11_3_X_SCALA2_12 = '11.3.x-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_7_3_X_CPU_ML_SCALA2_12_LTS = '7.3.x-cpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_7_3_X_GPU_ML_SCALA2_12_LTS = '7.3.x-gpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_7_3_X_HLS_SCALA2_12_LTS = '7.3.x-hls-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_7_3_X_SCALA2_12_LTS = '7.3.x-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_9_1_X_AARCH64_SCALA2_12_LTS = '9.1.x-aarch64-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_9_1_X_CPU_ML_SCALA2_12_LTS = '9.1.x-cpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_9_1_X_GPU_ML_SCALA2_12_LTS = '9.1.x-gpu-ml-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_9_1_X_PHOTON_SCALA2_12_LTS = '9.1.x-photon-scala2.12'
class-attribute
instance-attribute
¶RUNTIME_9_1_X_SCALA2_12_LTS = '9.1.x-scala2.12'
class-attribute
instance-attribute
¶