Office365-REST-Python-Client
Office365-REST-Python-Client copied to clipboard
print_upload_progress() missing 1 required positional argument: 'offset'
Hello!
Looked at the example ´examples/sharepoint/files/upload_large.py´ and others in these repo, which are using the ´create_upload_session´ with ´print_upload_progress´ func as an argument, all examples are returning:
TypeError: print_upload_progress() missing 1 required positional argument: ´offset´.
Could you please check and verify example code?
Thank you!
Greetings,
can't spot anything suspicious here, chunk_uploaded expects 1 mandatory argument starting from version 2.5.2.
and print_upload_progress signature appears to be correct. Perhaps you are utilizing older version?