Skip to content

Commit 6020752

Browse files
cloudant-sdks-automationricellis
authored andcommitted
docs(generated): embed missing postPartitionExplain examples
Generated SDK source code using: - Generator version 3.117.0 - Specification version 1.0.0-dev0.1.39 - Automation (cloudant-sdks) version 7d0a1a1
1 parent 864ee92 commit 6020752

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎examples/README.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1653,17 +1653,18 @@ _POST `/{db}/_partition/{partition_key}/_explain`_
16531653

16541654
### [Example request](snippets/postPartitionExplain/example_request.py)
16551655

1656-
[embedmd]:# (snippets/postPartitionFind/example_request.py)
1656+
[embedmd]:# (snippets/postPartitionExplain/example_request.py)
16571657
```py
16581658
# section: code
16591659
from ibmcloudant.cloudant_v1 import CloudantV1
16601660

16611661
service = CloudantV1.new_instance()
16621662

1663-
response = service.post_partition_find(
1663+
response = service.post_partition_explain(
16641664
db='events',
1665+
execution_stats=True,
1666+
limit=10,
16651667
partition_key='ns1HJS13AMkK',
1666-
fields=['productId', 'eventType', 'date'],
16671668
selector={'userId': {'$eq': 'abc123'}}
16681669
).get_result()
16691670

0 commit comments

Comments
 (0)