def upload(self, local_path):
"""Uploads the file using PUT
Args:
local_path (str): The path to the local file to upload.
Returns:
The created entity.
"""
return self.content.request().upload(local_path)
Removing upload_status=self.update_progress from the calling function allowed uploads to work for me. I am running Python 3.3.2+ .
Hello, In upload_file.py the 2nd paramater on this line appears to be extraneous:
Referring to https://github.com/OneDrive/onedrive-sdk-python/blob/master/src/python3/request/item_request_builder.py , only the path is required:
Removing
upload_status=self.update_progress
from the calling function allowed uploads to work for me. I am running Python 3.3.2+ .Thanks, gearHed