turbaszek commented on a change in pull request #10772:
URL: https://github.com/apache/airflow/pull/10772#discussion_r484276767



##########
File path: airflow/providers/google/cloud/operators/dataproc.py
##########
@@ -945,7 +953,16 @@ def __init__(
         self.cluster_name = cluster_name
         self.dataproc_properties = dataproc_properties
         self.dataproc_jars = dataproc_jars
+
+        if region is None:
+            warnings.warn(
+                "Default region value `global` will be deprecated." "Please, 
provide region value.",

Review comment:
       ```suggestion
                   "Default region value `global` will be deprecated. Please, 
provide region value.",
   ```




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to