RootCauseunvalidated

objects = sorted(response['Contents'], key=lambda x: x['LastModified'], reverse=True) — I have a s3 bucket which has multiple integrations. Tension: But this gives me the latest 2 files from the last subfolder. Outcome: read all files from the last 2 subfolders.

372d82cf-301a-4fcc-8a31-64c266fd6793

objects = sorted(response['Contents'], key=lambda x: x['LastModified'], reverse=True) — I have a s3 bucket which has multiple integrations. Tension: But this gives me the latest 2 files from the last subfolder. Outcome: read all files from the last 2 subfolders.