Skip to content

Commit 8503441

Browse files
committed
update object store user-guide.md
1 parent 5cc3b6e commit 8503441

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/sap_cloud_sdk/objectstore/user-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ import io
8888
stream = io.BytesIO(b"Streamed content")
8989
client.put_object(
9090
name="stream.txt",
91-
data=stream,
91+
stream=stream,
9292
size=len(b"Streamed content"),
9393
content_type="text/plain"
9494
)
@@ -101,7 +101,7 @@ with open("/path/to/file.txt", "rb") as f:
101101

102102
client.put_object(
103103
name="uploaded.txt",
104-
data=f,
104+
stream=f,
105105
size=size,
106106
content_type="text/plain"
107107
)

0 commit comments

Comments
 (0)