Skip to content

Commit

Permalink
handler s3 object changes
Browse files Browse the repository at this point in the history
  • Loading branch information
smohiudd committed Aug 31, 2023
1 parent 2fec970 commit da8a6a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker_tasks/vector_ingest/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def handler(event, context):
s3_objects = event_received["objects"]
status = list()
for s3_object in s3_objects:
href = s3_object["s3_filename"]
href = s3_object["assets"]["cog_default"]["href"]
collection = s3_object["collection"]
downloaded_filepath = download_file(href)
print(f"[ DOWNLOAD FILEPATH ]: {downloaded_filepath}")
Expand Down

0 comments on commit da8a6a4

Please sign in to comment.