Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor prune_build to use s3_client for S3 object deletion
Updated prune_build function to handle S3 object deletion using boto3's s3_client. Replaced resource-based object deletion with client-based approach using list_objects_v2 and delete_objects. Added handling for cases where no objects are found under the specified prefix. Improved error handling for missing keys (NoSuchKey) and other potential ClientErrors.
- Loading branch information