This is an automated email from the ASF dual-hosted git repository.
husseinawala pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new a9ce7135ff Add "NON_PREEMPTIBLE" as a valid preemptibility type for
Dataproc workers (#35669)
a9ce7135ff is described below
commit a9ce7135ffbd2df737e6db24a54db58179d8372a
Author: Kirill Tsukanov <[email protected]>
AuthorDate: Thu Nov 16 09:21:24 2023 +0000
Add "NON_PREEMPTIBLE" as a valid preemptibility type for Dataproc workers
(#35669)
---
airflow/providers/google/cloud/operators/dataproc.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/airflow/providers/google/cloud/operators/dataproc.py
b/airflow/providers/google/cloud/operators/dataproc.py
index bb6e069e95..8d3387a700 100644
--- a/airflow/providers/google/cloud/operators/dataproc.py
+++ b/airflow/providers/google/cloud/operators/dataproc.py
@@ -74,6 +74,7 @@ class PreemptibilityType(Enum):
PREEMPTIBLE = "PREEMPTIBLE"
SPOT = "SPOT"
PREEMPTIBILITY_UNSPECIFIED = "PREEMPTIBILITY_UNSPECIFIED"
+ NON_PREEMPTIBLE = "NON_PREEMPTIBLE"
class ClusterGenerator: