Skip to content

ValueError on .put(inMemoryFile)  #415

Open

Description

@MrPieler

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions