chrisqiqiu commented on code in PR #66204:
URL: https://github.com/apache/airflow/pull/66204#discussion_r3176300518


##########
providers/google/src/airflow/providers/google/cloud/hooks/gcs.py:
##########
@@ -233,6 +235,12 @@ def rewrite(
         :param destination_bucket: The destination of the object to copied to.
         :param destination_object: The (renamed) path of the object if given.
             Can be omitted; then the same name is used.
+        :param retain_until_time: Optional datetime specifying until when the 
destination
+            object should be retained. Requires the destination bucket to have
+            object retention enabled. If ``tzinfo`` has not been set, UTC will 
be assumed.

Review Comment:
   Updated the docstring to not promise UTC normalization — it now states the 
value is passed through to the GCS client.



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