You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "VladaZakharova (via GitHub)" <gi...@apache.org> on 2023/07/05 08:54:42 UTC
[GitHub] [airflow] VladaZakharova commented on a diff in pull request #31644: Update Dataproc Operators to be able to use Spot Instances
VladaZakharova commented on code in PR #31644:
URL: https://github.com/apache/airflow/pull/31644#discussion_r1252779505
##########
airflow/providers/google/cloud/operators/dataproc.py:
##########
@@ -63,6 +73,13 @@
from airflow.utils.context import Context
+class PreemptibilityType(Enum):
+ """Contains possible Type values of Preemptibility applicable for every secondary worker of Cluster."""
+
+ PREEMPTIBLE = "PREEMPTIBLE"
+ SPOT = "SPOT"
Review Comment:
Yes, this value is also acceptable for secondary workers. Good idea to add, thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org