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

feat: add write api for lakefs service. #5100

Merged
merged 12 commits into from
Sep 9, 2024
Merged

Conversation

liugddx
Copy link
Member

@liugddx liugddx commented Sep 5, 2024

Which issue does this PR close?

Closes #.

Rationale for this change

Refer to https://docs.lakefs.io/reference/api.html#/objects/uploadObject

What changes are included in this PR?

Are there any user-facing changes?

@liugddx liugddx requested a review from Xuanwo as a code owner September 5, 2024 16:08
@liugddx liugddx marked this pull request as draft September 5, 2024 16:09
@liugddx liugddx marked this pull request as ready for review September 8, 2024 06:32
@Xuanwo
Copy link
Member

Xuanwo commented Sep 8, 2024

The fail CI should be addressed by #5102

@@ -143,6 +143,38 @@ impl LakefsCore {

self.client.send(req).await
}

pub async fn upload_object(
Copy link
Member

Choose a reason for hiding this comment

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

Hi, we don't need to build a request and send it later; we can send it directly here.

Copy link
Member Author

Choose a reason for hiding this comment

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

I see.

Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Thanks!

@Xuanwo Xuanwo merged commit 8ae8ea4 into apache:main Sep 9, 2024
82 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants