Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
moradology committed Oct 25, 2022
1 parent 2116e7c commit 15e97b9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lambdas/cogify/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,11 @@ def handler(event, context):
to_cog_config["filename"] = downloaded_filename
to_cog_config["collection"] = collection

return_obj = {"granule_id": event["granule_id"], "collection": event["collection"], "properties": event["properties"]}
return_obj = {
"granule_id": event["granule_id"],
"collection": event["collection"],
"properties": event["properties"],
}

output_locations = to_cog(upload=event.get("upload", False), **to_cog_config)

Expand Down

0 comments on commit 15e97b9

Please sign in to comment.