uranusjr commented on code in PR #26872:
URL: https://github.com/apache/airflow/pull/26872#discussion_r1004176926


##########
airflow/providers/google/cloud/hooks/datastore.py:
##########
@@ -279,11 +270,10 @@ def export_to_storage_bucket(
         :param labels: Client-assigned labels.
         :param project_id: Google Cloud project ID against which to make the 
request.
         :return: a resource operation instance.
-        :rtype: dict
         """
-        admin_conn = self.get_conn()  # type: Any
+        admin_conn = self.get_conn()
 
-        output_uri_prefix = "gs://" + "/".join(filter(None, [bucket, 
namespace]))  # type: str
+        output_uri_prefix: str = "gs://" + "/".join(filter(None, [bucket, 
namespace]))

Review Comment:
   ```suggestion
           output_uri_prefix = f"gs://{'/'.join(filter(None, [bucket, 
namespace]))}"
   ```
   
   Same for `input_url` below, I think. (p.s. why is this named with `uri` but 
the input with `url`… whatever, doesn’t matter much)



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

Reply via email to