Skip to content

Commit f477796

Browse files
cloudant-sdks-automationricellis
authored andcommitted
feat(generated): update API definition to 1.0.0-dev0.1.38
Generated SDK source code using: - Generator version 3.114.0 - Specification version 1.0.0-dev0.1.38 - Automation (cloudant-sdks) version 892ac8e
1 parent c159dcf commit f477796

2 files changed

Lines changed: 28 additions & 28 deletions

File tree

‎ibmcloudant/cloudant_v1.py‎

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"""
1818
NoSQL database based on Apache CouchDB
1919

20-
See: https://cloud.ibm.com/docs/services/Cloudant/
20+
See: https://cloud.ibm.com/docs/Cloudant
2121
"""
2222

2323
from datetime import datetime
@@ -437,7 +437,7 @@ def post_changes(
437437
conjunction with equality operators or create and use a partial index to
438438
reduce the number of documents that will need to be scanned.
439439
See [the Cloudant
440-
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a
440+
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
441441
list of all available combination and conditional operators.
442442
For further reference see [selector
443443
syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -662,7 +662,7 @@ def post_changes_as_stream(
662662
conjunction with equality operators or create and use a partial index to
663663
reduce the number of documents that will need to be scanned.
664664
See [the Cloudant
665-
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a
665+
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
666666
list of all available combination and conditional operators.
667667
For further reference see [selector
668668
syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -4636,7 +4636,7 @@ def post_partition_explain(
46364636
conjunction with equality operators or create and use a partial index to
46374637
reduce the number of documents that will need to be scanned.
46384638
See [the Cloudant
4639-
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a
4639+
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
46404640
list of all available combination and conditional operators.
46414641
For further reference see [selector
46424642
syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -4814,7 +4814,7 @@ def post_partition_find(
48144814
conjunction with equality operators or create and use a partial index to
48154815
reduce the number of documents that will need to be scanned.
48164816
See [the Cloudant
4817-
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a
4817+
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
48184818
list of all available combination and conditional operators.
48194819
For further reference see [selector
48204820
syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -4992,7 +4992,7 @@ def post_partition_find_as_stream(
49924992
conjunction with equality operators or create and use a partial index to
49934993
reduce the number of documents that will need to be scanned.
49944994
See [the Cloudant
4995-
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a
4995+
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
49964996
list of all available combination and conditional operators.
49974997
For further reference see [selector
49984998
syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -5159,7 +5159,7 @@ def post_explain(
51595159
conjunction with equality operators or create and use a partial index to
51605160
reduce the number of documents that will need to be scanned.
51615161
See [the Cloudant
5162-
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a
5162+
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
51635163
list of all available combination and conditional operators.
51645164
For further reference see [selector
51655165
syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -5337,7 +5337,7 @@ def post_find(
53375337
conjunction with equality operators or create and use a partial index to
53385338
reduce the number of documents that will need to be scanned.
53395339
See [the Cloudant
5340-
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a
5340+
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
53415341
list of all available combination and conditional operators.
53425342
For further reference see [selector
53435343
syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -5515,7 +5515,7 @@ def post_find_as_stream(
55155515
conjunction with equality operators or create and use a partial index to
55165516
reduce the number of documents that will need to be scanned.
55175517
See [the Cloudant
5518-
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a
5518+
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
55195519
list of all available combination and conditional operators.
55205520
For further reference see [selector
55215521
syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -7084,8 +7084,8 @@ def put_cloudant_security_configuration(
70847084
`_reader`.
70857085

70867086
:param str db: Path parameter to specify the database name.
7087-
:param dict cloudant: Database permissions for Cloudant users and/or API
7088-
keys.
7087+
:param dict cloudant: Database permissions for Cloudant users, API keys or
7088+
both.
70897089
:param SecurityObject admins: (optional) Schema for names and roles to map
70907090
to a database permission.
70917091
:param bool couchdb_auth_only: (optional) Manage permissions using the
@@ -7217,8 +7217,8 @@ def put_security(
72177217
:param str db: Path parameter to specify the database name.
72187218
:param SecurityObject admins: (optional) Schema for names and roles to map
72197219
to a database permission.
7220-
:param dict cloudant: (optional) Database permissions for Cloudant users
7221-
and/or API keys.
7220+
:param dict cloudant: (optional) Database permissions for Cloudant users,
7221+
API keys or both.
72227222
:param bool couchdb_auth_only: (optional) Manage permissions using the
72237223
`_users` database only.
72247224
:param SecurityObject members: (optional) Schema for names and roles to map
@@ -13767,8 +13767,8 @@ class ExplainResult:
1376713767
equality operators or create and use a partial index to reduce the number of
1376813768
documents that will need to be scanned.
1376913769
See [the Cloudant
13770-
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of
13771-
all available combination and conditional operators.
13770+
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list
13771+
of all available combination and conditional operators.
1377213772
For further reference see [selector
1377313773
syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
1377413774
:param List[SelectorHint] selector_hints: Schema for a list of objects with
@@ -13838,7 +13838,7 @@ def __init__(
1383813838
conjunction with equality operators or create and use a partial index to
1383913839
reduce the number of documents that will need to be scanned.
1384013840
See [the Cloudant
13841-
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a
13841+
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
1384213842
list of all available combination and conditional operators.
1384313843
For further reference see [selector
1384413844
syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -14813,8 +14813,8 @@ class IndexDefinition:
1481314813
equality operators or create and use a partial index to reduce the number of
1481414814
documents that will need to be scanned.
1481514815
See [the Cloudant
14816-
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of
14817-
all available combination and conditional operators.
14816+
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list
14817+
of all available combination and conditional operators.
1481814818
For further reference see [selector
1481914819
syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
1482014820
"""
@@ -14884,7 +14884,7 @@ def __init__(
1488414884
conjunction with equality operators or create and use a partial index to
1488514885
reduce the number of documents that will need to be scanned.
1488614886
See [the Cloudant
14887-
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a
14887+
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
1488814888
list of all available combination and conditional operators.
1488914889
For further reference see [selector
1489014890
syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -16497,8 +16497,8 @@ class ReplicationDocument:
1649716497
equality operators or create and use a partial index to reduce the number of
1649816498
documents that will need to be scanned.
1649916499
See [the Cloudant
16500-
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of
16501-
all available combination and conditional operators.
16500+
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list
16501+
of all available combination and conditional operators.
1650216502
For further reference see [selector
1650316503
syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
1650416504
:param str since_seq: (optional) Start the replication at a specific sequence
@@ -16667,7 +16667,7 @@ def __init__(
1666716667
conjunction with equality operators or create and use a partial index to
1666816668
reduce the number of documents that will need to be scanned.
1666916669
See [the Cloudant
16670-
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a
16670+
Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
1667116671
list of all available combination and conditional operators.
1667216672
For further reference see [selector
1667316673
syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -18720,8 +18720,8 @@ class Security:
1872018720

1872118721
:param SecurityObject admins: (optional) Schema for names and roles to map to a
1872218722
database permission.
18723-
:param dict cloudant: (optional) Database permissions for Cloudant users and/or
18724-
API keys.
18723+
:param dict cloudant: (optional) Database permissions for Cloudant users, API
18724+
keys or both.
1872518725
:param bool couchdb_auth_only: (optional) Manage permissions using the `_users`
1872618726
database only.
1872718727
:param SecurityObject members: (optional) Schema for names and roles to map to a
@@ -18741,8 +18741,8 @@ def __init__(
1874118741

1874218742
:param SecurityObject admins: (optional) Schema for names and roles to map
1874318743
to a database permission.
18744-
:param dict cloudant: (optional) Database permissions for Cloudant users
18745-
and/or API keys.
18744+
:param dict cloudant: (optional) Database permissions for Cloudant users,
18745+
API keys or both.
1874618746
:param bool couchdb_auth_only: (optional) Manage permissions using the
1874718747
`_users` database only.
1874818748
:param SecurityObject members: (optional) Schema for names and roles to map
@@ -18811,7 +18811,7 @@ def __ne__(self, other: 'Security') -> bool:
1881118811

1881218812
class CloudantEnum(str, Enum):
1881318813
"""
18814-
Database permissions for Cloudant users and/or API keys.
18814+
Database permissions for Cloudant users, API keys or both.
1881518815
"""
1881618816

1881718817
READER = '_reader'

‎test/integration/test_cloudant_v1.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1811,7 +1811,7 @@ def test_put_security(self):
18111811
response = self.cloudant_service.put_security(
18121812
db='testString',
18131813
admins=security_object_model,
1814-
cloudant={'key1': ['_reader']},
1814+
cloudant={'antsellseadespecteposene': ['_reader', '_writer', '_admin']},
18151815
couchdb_auth_only=True,
18161816
members=security_object_model,
18171817
)

0 commit comments

Comments
 (0)