olegkachur-e commented on code in PR #71427:
URL: https://github.com/apache/airflow/pull/71427#discussion_r4106042704
##########
providers/google/src/airflow/providers/google/cloud/operators/dataproc.py:
##########
@@ -75,6 +76,11 @@
from airflow.providers.common.compat.sdk import Context
+@deprecated(
+ planned_removal_date="September 1, 2027",
+ reason="This helper class is being removed alongside the deprecated
'CreateCluster' class.",
+ category=AirflowProviderDeprecationWarning,
+)
class PreemptibilityType(Enum):
Review Comment:
Makes sense.
The idea was to put formal deprecation on each class, so no formal violation
of deprecation/remova; policy, but did't foresee a mess with warning messages,
edited.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]