Skip to content

Commit

Permalink
Merge pull request #1 from AMI-system/DylanCarbone-patch-1
Browse files Browse the repository at this point in the history
Update aws_scripts.py
  • Loading branch information
KatrionaGoldmann authored Nov 20, 2024
2 parents 531b23d + 02f5066 commit 6da8de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/aws_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def get_objects(

total_files, all_keys = count_files(s3_client, bucket_name, prefix)
first_dt = get_datetime_from_string(os.path.basename(all_keys[0]))
last_dt = get_datetime_from_string(os.path.basename(all_keys[-1]
last_dt = get_datetime_from_string(os.path.basename(all_keys[-1]))

paginator = s3_client.get_paginator("list_objects_v2")
operation_parameters = {"Bucket": bucket_name, "Prefix": prefix}
Expand Down

0 comments on commit 6da8de7

Please sign in to comment.