Colin-Cheng commented on code in PR #74910:
URL: https://github.com/apache/airflow/pull/74910#discussion_r4341286658
##########
providers/google/src/airflow/providers/google/cloud/operators/dataproc.py:
##########
@@ -742,6 +755,18 @@ def __init__(
super().__init__(**kwargs)
if deferrable and polling_interval_seconds <= 0:
raise ValueError("Invalid value for polling_interval_seconds.
Expected value greater than 0")
+ if isinstance(cluster_config, dict) and "gce_cluster_config" in
cluster_config:
Review Comment:
Removed the custom `MultiZoneConfig` dataclass and `__init__` conversion
from `dataproc.py` (and the corresponding unit test), keeping the
`google-cloud-dataproc>=5.32.0` version bump and adding documentation with a
`multi_zone_config` example in
`providers/google/docs/operators/cloud/dataproc.rst`.
--
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]