Skip to content

Satellite UI API to S3 Presigned URL #321

Open
suvanbanerjee wants to merge 7 commits into
mainfrom
feat/satellite-ui
Open

Satellite UI API to S3 Presigned URL #321
suvanbanerjee wants to merge 7 commits into
mainfrom
feat/satellite-ui

Conversation

@suvanbanerjee
Copy link
Copy Markdown
Member

Pull Request

Description

Add endpoint to get s3 URL of a specific layer and channel

Checklist:

  • My code follows OCF's coding style guidelines
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked my code and corrected any misspellings

@suvanbanerjee suvanbanerjee requested a review from braddf June 2, 2026 06:15
Comment thread src/quartz_api/internal/s3.py Outdated
"""S3 client."""
import boto3
from botocore.client import Config
from botocore.exceptions import ClientError
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to consider using fsspec, can be slightly easier to use that boto3 and botocore. We have tended to use fsspec in some other mircoservices

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, fine with this for now but I think boto3 is slightly more resilient in the pre-signed URL stuff. Can always tweak later if needed though!

@@ -0,0 +1,29 @@
"""S3 client."""
import fsspec
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good you are using fsspec now

Copy link
Copy Markdown
Contributor

@peterdudfield peterdudfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for using fsspec, I let @braddf review this properly, as I dont know the full ins and outs of this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants