sunank200 commented on a change in pull request #16821:
URL: https://github.com/apache/airflow/pull/16821#discussion_r667650552



##########
File path: airflow/providers/amazon/aws/hooks/s3.py
##########
@@ -283,6 +287,12 @@ def list_keys(
         :type page_size: int
         :param max_items: maximum items to return
         :type max_items: int
+        :param start_after_key: returns keys after this specified key in the 
bucket.
+        :type start_after_key: str
+        :param start_after_datetime: returns keys with last modified datetime 
greater than the specified datetime.
+        :type start_after_datetime: datetime , ISO8601: '%Y-%m-%dT%H:%M:%S%z', 
e.g. 2021-02-20T05:20:20+0000

Review comment:
       @dstandish I don't think we require to specify the string formatting 
here. `datetime` object should be passed here as an argument, it will work 
fine. String type passed as an argument won't work. I was just trying to give 
example. I will update the examples as:
   ```
   e.g:  to_datetime 
=datetime.strptime('2024-08-19T09:55:48+0000','%Y-%m-%dT%H:%M:%S%z')
   ```




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