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

File upload from File class #771

Open
dmpetrov opened this issue Jan 2, 2025 · 0 comments
Open

File upload from File class #771

dmpetrov opened this issue Jan 2, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@dmpetrov
Copy link
Member

dmpetrov commented Jan 2, 2025

Description

As the next step from #758, we need a class method to simplify the upload:

data = somefile.read() # bypes type
path = "s3://mybucket/dir/file.mp4"
...
f = File.upload(data, path)

User should not deal with client or any other internals.

@dmpetrov dmpetrov added the enhancement New feature or request label Jan 2, 2025
This was referenced Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant