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

ValueError on .put(inMemoryFile) #415

Open
MrPieler opened this issue Apr 6, 2022 · 0 comments
Open

ValueError on .put(inMemoryFile) #415

MrPieler opened this issue Apr 6, 2022 · 0 comments

Comments

@MrPieler
Copy link

MrPieler commented Apr 6, 2022

When adding a file to storage using the child().put() method using a file that is not physically stored it gives ValueError.
This is due to not being able to read the amount of bytes in the file. This is usually solved by adding a chunk size for the bucket. However this is not possible using the .put() method at the moment.
I propose it is added as an optional parameter for the .put() method which would easily solve the issue at hand.

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

No branches or pull requests

1 participant