Skip to content

Commit

Permalink
Merge pull request #205 from NASA-IMPACT/gc/assets
Browse files Browse the repository at this point in the history
assets.default.href
  • Loading branch information
ranchodeluxe authored Aug 7, 2024
2 parents efaff80 + a4a2065 commit 694ffca
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 @@ -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}")
Expand Down

0 comments on commit 694ffca

Please sign in to comment.