You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or; "please make your file like object file-like" ;P
Glad a friend pointed me at this project; I love the idea, B2 is epic. I'm very strongly in favour of following Python standard object conventions for file-likes, that is, supplying File-like methods as described by Python 3's io package. Ref: https://docs.python.org/3/library/io.html#io.RawIOBase
An example of a Python 2 file-like compatible object can be found in Pymongo's GridFS implementation; for DB-distributed file chunking. (They went with distinct reader and writer objects.)
Thanks for consideration!
The text was updated successfully, but these errors were encountered:
Or; "please make your file like object file-like" ;P
Glad a friend pointed me at this project; I love the idea, B2 is epic. I'm very strongly in favour of following Python standard object conventions for file-likes, that is, supplying File-like methods as described by Python 3's
io
package. Ref: https://docs.python.org/3/library/io.html#io.RawIOBaseAn example of a Python 2 file-like compatible object can be found in Pymongo's GridFS implementation; for DB-distributed file chunking. (They went with distinct reader and writer objects.)
Thanks for consideration!
The text was updated successfully, but these errors were encountered: