Better attachments interface
Opened this issue · 0 comments
garbados commented
Something like this:
with open('...', 'r') as f:
response = document.attachment('filename').put(f)
So you can put any file-like object as an attachment without doing any Base64 nonsense by your lonesome.