Office365-REST-Python-Client icon indicating copy to clipboard operation
Office365-REST-Python-Client copied to clipboard

too many args for resumable_upload() call in message.py

Open zeriss opened this issue 3 years ago • 0 comments

lib/python2.7/site-packages/office365/outlook/mail/messages/message.py", line 71, in _message_loaded self.attachments.resumable_upload(file_path, max_upload_chunk, file_attachment) TypeError: resumable_upload() takes at most 3 arguments (4 given)

self.attachments.resumable_upload(file_path, max_upload_chunk, file_attachment)

file_attachment is not required in resumable_upload of AttachmentCollection class : def resumable_upload(self, source_path, chunk_size=1000000):

zeriss avatar May 23 '22 08:05 zeriss