Skip to content

Commit

Permalink
Merge pull request #80 from Open-EO/fix/download-job-results-from-us-…
Browse files Browse the repository at this point in the history
…2-west

fix: download results from us-2-west bucket
  • Loading branch information
guss84 authored Mar 1, 2024
2 parents cd4dd32 + 2f88ecb commit 8cb6637
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rest/buckets/results_bucket.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import boto3
from botocore.client import Config


class ResultsBucket:
Expand All @@ -10,6 +11,7 @@ def __init__(self, bucket_name, region_name, endpoint_url, access_key_id, secret
endpoint_url=endpoint_url,
aws_access_key_id=access_key_id,
aws_secret_access_key=secret_access_key,
config=Config(signature_version="s3v4"),
)

def put_file_to_bucket(self, content_as_string, prefix=None, file_name="file"):
Expand Down

0 comments on commit 8cb6637

Please sign in to comment.