ellisms opened a new pull request, #37886: URL: https://github.com/apache/airflow/pull/37886
--- Closes #35449 Cached an S3 resource property for functions still using resources. Ran a simple loop of hook.get_bucket() for 5 buckets and captured memory data with memray. Memory usage went from 34.5mb without caching to 11.5mb with cached property. This PR doesn't address removing the use of Resources, since it would cause a breaking change for anyone directly calling `hook.get_bucket()` or `hook.get_key()`. Cleaned up some of the other typing code and imports. -- 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]
