Skip to content

Commit 06d9254

Browse files
ryanmatsJon Wayne Parrott
authored andcommitted
Fix storage api example typo (#528)
1 parent 349cdc8 commit 06d9254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/api/crud_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def upload_object(bucket, filename, readers, owners):
9999
with open(filename, 'rb') as f:
100100
req = service.objects().insert(
101101
bucket=bucket, body=body,
102-
# You can also just set media_body=filename, but # for the sake of
102+
# You can also just set media_body=filename, but for the sake of
103103
# demonstration, pass in the more generic file handle, which could
104104
# very well be a StringIO or similar.
105105
media_body=http.MediaIoBaseUpload(f, 'application/octet-stream'))

0 commit comments

Comments
 (0)