Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Commit a649bec

Browse files
committed
Item Request Builder Bugfix
1 parent 4788e24 commit a649bec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/python2/request/item_request_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def upload(self, local_path):
102102
Returns:
103103
The created entity.
104104
"""
105-
return self.content.request().put(local_path)
105+
return self.content.request().upload(local_path)
106106

107107

108108
def download(self, local_path):

src/python3/request/item_request_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def upload(self, local_path):
131131
Returns:
132132
The created entity.
133133
"""
134-
return self.content.request().put(local_path)
134+
return self.content.request().upload(local_path)
135135

136136
@asyncio.coroutine
137137
def upload_async(self, local_path):

0 commit comments

Comments
 (0)