From a4a2065405e84b7cbd771c34de4b4d0cfe2733e0 Mon Sep 17 00:00:00 2001 From: ranchodeluxe Date: Wed, 7 Aug 2024 13:57:23 -0700 Subject: [PATCH] assets.default.href --- docker_tasks/vector_ingest/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker_tasks/vector_ingest/handler.py b/docker_tasks/vector_ingest/handler.py index 633e32b2..35ff27cb 100644 --- a/docker_tasks/vector_ingest/handler.py +++ b/docker_tasks/vector_ingest/handler.py @@ -356,7 +356,7 @@ def handler(): s3_objects = event_received["objects"] status = list() for s3_object in s3_objects: - href = s3_object["s3_filename"] + href = s3_object["assets"]["default"]["href"] collection = s3_object["collection"] downloaded_filepath = download_file(href) print(f"[ DOWNLOAD FILEPATH ]: {downloaded_filepath}")