aslantar commented on issue #16967:
URL: https://github.com/apache/airflow/issues/16967#issuecomment-878999248


   Possible solution:
   ```
   existing_objects = hook.list(self.destination_bucket, prefix=prefix_, 
delimiter=delimiter)
   
   # add an additional case
   if self.destination_object is not None:
       existing_objects = existing_objects.replace(prefix_, 
self.destination_object, 1)
   
   objects = set(objects) - set(existing_objects)
   ```


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