From 6e09f2b819d2401f1ffcf3c43fae976209010e0e Mon Sep 17 00:00:00 2001 From: cloudant-sdks-automation <71659186+cloudant-sdks-automation@users.noreply.github.com> Date: Thu, 29 Jan 2026 14:16:38 +0000 Subject: [PATCH] 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 --- examples/README.md | 2 +- examples/snippets/postDocument/example_request_as_a_stream.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/README.md b/examples/README.md index 6012bf94..58ac8e33 100644 --- a/examples/README.md +++ b/examples/README.md @@ -675,7 +675,7 @@ service = CloudantV1.new_instance() with open("products_doc.json", "rb") as products_doc: response = service.post_document( db='products', - document=products_doc_binary, + document=products_doc, content_type="application/json" ).get_result() diff --git a/examples/snippets/postDocument/example_request_as_a_stream.py b/examples/snippets/postDocument/example_request_as_a_stream.py index 879ddbee..965177ba 100644 --- a/examples/snippets/postDocument/example_request_as_a_stream.py +++ b/examples/snippets/postDocument/example_request_as_a_stream.py @@ -6,7 +6,7 @@ with open("products_doc.json", "rb") as products_doc: response = service.post_document( db='products', - document=products_doc_binary, + document=products_doc, content_type="application/json" ).get_result()