forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce memory footprint of s3 key trigger (apache#40473)
* Use generator to reduce memory footprint We can return True on the first positive. And we don't need to keep track of the files. * add tests * fixup * Update airflow/providers/amazon/aws/hooks/s3.py Co-authored-by: Vincent <[email protected]> * Revert "Update airflow/providers/amazon/aws/hooks/s3.py" This reverts commit cb2f31a. * reapply vincent's suggestion * add check for param * add changelog --------- Co-authored-by: Vincent <[email protected]>
- Loading branch information
Showing
3 changed files
with
156 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters