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

fix: wrong doc id when using default s3 endpoint in S3Reader #12803

Merged
merged 4 commits into from Apr 12, 2024

Conversation

Javtor
Copy link
Contributor

@Javtor Javtor commented Apr 12, 2024

Description

The line doc.id_ = self.s3_endpoint_url + "_" + doc.id_ was failing when using the default s3_endpoint_url, since it's None. Added a check for that case

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Apr 12, 2024
@Javtor Javtor enabled auto-merge (squash) April 12, 2024 19:51
Copy link
Contributor

@EmanuelCampos EmanuelCampos left a comment

Choose a reason for hiding this comment

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

LGTM ✅

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 12, 2024
@Javtor Javtor merged commit 8fcae95 into main Apr 12, 2024
8 checks passed
@Javtor Javtor deleted the javier/fix-default-s3-url branch April 12, 2024 19:59
raghavdixit99 pushed a commit to raghavdixit99/llama_index_lance that referenced this pull request Apr 13, 2024
chrisalexiuk-nvidia pushed a commit to chrisalexiuk-nvidia/llama_index that referenced this pull request Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants