Open garbados opened 10 years ago
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.
Something like this:
So you can put any file-like object as an attachment without doing any Base64 nonsense by your lonesome.