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



##########
File path: airflow/providers/google/cloud/hooks/dataproc.py
##########
@@ -855,7 +855,15 @@ def cancel_job(
         :param metadata: Additional metadata that is provided to the method.
         :type metadata: Sequence[Tuple[str, str]]
         """
+        if location is None:
+            warnings.warn(
+                "Default location value `global` will be deprecated." "Please, 
provide location value.",

Review comment:
       ```suggestion
                   "Default location value `global` will be deprecated. Please, 
provide location 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