sunank200 commented on a change in pull request #22231: URL: https://github.com/apache/airflow/pull/22231#discussion_r825679975
########## File path: airflow/providers/amazon/aws/hooks/s3.py ########## @@ -263,6 +281,10 @@ def list_keys( delimiter: Optional[str] = None, page_size: Optional[int] = None, max_items: Optional[int] = None, + start_after_key: Optional[str] = None, + from_datetime: Optional[DateTime] = None, + to_datetime: Optional[DateTime] = None, Review comment: `LastModified` in the key returned by boto3 is timezone aware and comparison with DateTime specified by the user would create `TypeError: can't compare offset-naive and offset-aware datetimes`. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org