Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add s3 support to dropbox #63

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

Add s3 support to dropbox #63

wants to merge 18 commits into from

Conversation

mjdupont12
Copy link

No description provided.

@mjdupont12 mjdupont12 self-assigned this Jan 23, 2025
Copy link
Member

@davidlougheed davidlougheed left a comment

Choose a reason for hiding this comment

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

looking good so far!

@@ -21,6 +22,14 @@ class Config(BentoFastAPIBaseConfig):
service_data_source: Literal["local"] = "local"
traversal_limit: int = 16

use_https: bool = True
check_ssl_certificate: bool = False
Copy link
Member

Choose a reason for hiding this comment

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

we have a standard value for this, already configured in the BentoFastAPIBaseConfig base class: https://github.com/bento-platform/bento_lib/blob/master/bento_lib/config/pydantic.py#L30

Copy link
Member

Choose a reason for hiding this comment

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

(or maybe the context here is different? if so, then maybe put a comment above explaining)

Copy link

@v-rocheleau v-rocheleau Feb 18, 2025

Choose a reason for hiding this comment

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

Since BentoFastAPIBaseConfig.bento_validate_ssl is not used anywhere in drop-box, we can use it for S3 without worrying about side-effects.

@mjdupont12 mjdupont12 changed the title Add s3 support to dropbox Add s3 support to dropbox (old) Feb 5, 2025
@mjdupont12 mjdupont12 changed the title Add s3 support to dropbox (old) Add s3 support to dropbox Feb 13, 2025
@mjdupont12
Copy link
Author

@davidlougheed @v-rocheleau The problem with run.bash and run.dev.bash files is fixed. It was a problem with permissions + final new line (thanks David).

@v-rocheleau v-rocheleau marked this pull request as ready for review February 18, 2025 19:04
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