thisbejim / Pyrebase

A simple python wrapper for the Firebase API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValueError on .put(inMemoryFile)

MrPieler opened this issue · comments

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.