Skip to content

Commit f07f565

Browse files
docs(generated): fix fs imports in stream examples
Generated SDK source code using: - Generator version 3.110.0 - Specification version 1.0.0-dev0.1.33 - Automation (cloudant-sdks) version 128d5e0
1 parent c150b3f commit f07f565

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ service = CloudantV1.new_instance()
675675
with open("products_doc.json", "rb") as products_doc:
676676
response = service.post_document(
677677
db='products',
678-
document=products_doc_binary,
678+
document=products_doc,
679679
content_type="application/json"
680680
).get_result()
681681

examples/snippets/postDocument/example_request_as_a_stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
with open("products_doc.json", "rb") as products_doc:
77
response = service.post_document(
88
db='products',
9-
document=products_doc_binary,
9+
document=products_doc,
1010
content_type="application/json"
1111
).get_result()
1212

0 commit comments

Comments
 (0)