From 06bd1428f6fed315cc4a0545ac36ae2442041a2b Mon Sep 17 00:00:00 2001 From: cloudant-sdks-automation <71659186+cloudant-sdks-automation@users.noreply.github.com> Date: Fri, 22 May 2026 10:55:03 +0000 Subject: [PATCH] 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 --- ibmcloudant/cloudant_v1.py | 54 ++++++++++++++-------------- test/integration/test_cloudant_v1.py | 2 +- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/ibmcloudant/cloudant_v1.py b/ibmcloudant/cloudant_v1.py index 7f4cc63c..aeb6ecf8 100644 --- a/ibmcloudant/cloudant_v1.py +++ b/ibmcloudant/cloudant_v1.py @@ -17,7 +17,7 @@ """ NoSQL database based on Apache CouchDB -See: https://cloud.ibm.com/docs/services/Cloudant/ +See: https://cloud.ibm.com/docs/Cloudant """ from datetime import datetime @@ -437,7 +437,7 @@ def post_changes( conjunction with equality operators or create and use a partial index to reduce the number of documents that will need to be scanned. See [the Cloudant - Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a + Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available combination and conditional operators. For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax). @@ -662,7 +662,7 @@ def post_changes_as_stream( conjunction with equality operators or create and use a partial index to reduce the number of documents that will need to be scanned. See [the Cloudant - Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a + Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available combination and conditional operators. For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax). @@ -4636,7 +4636,7 @@ def post_partition_explain( conjunction with equality operators or create and use a partial index to reduce the number of documents that will need to be scanned. See [the Cloudant - Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a + Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available combination and conditional operators. For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax). @@ -4814,7 +4814,7 @@ def post_partition_find( conjunction with equality operators or create and use a partial index to reduce the number of documents that will need to be scanned. See [the Cloudant - Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a + Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available combination and conditional operators. For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax). @@ -4992,7 +4992,7 @@ def post_partition_find_as_stream( conjunction with equality operators or create and use a partial index to reduce the number of documents that will need to be scanned. See [the Cloudant - Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a + Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available combination and conditional operators. For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax). @@ -5159,7 +5159,7 @@ def post_explain( conjunction with equality operators or create and use a partial index to reduce the number of documents that will need to be scanned. See [the Cloudant - Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a + Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available combination and conditional operators. For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax). @@ -5337,7 +5337,7 @@ def post_find( conjunction with equality operators or create and use a partial index to reduce the number of documents that will need to be scanned. See [the Cloudant - Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a + Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available combination and conditional operators. For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax). @@ -5515,7 +5515,7 @@ def post_find_as_stream( conjunction with equality operators or create and use a partial index to reduce the number of documents that will need to be scanned. See [the Cloudant - Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a + Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available combination and conditional operators. For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax). @@ -7084,8 +7084,8 @@ def put_cloudant_security_configuration( `_reader`. :param str db: Path parameter to specify the database name. - :param dict cloudant: Database permissions for Cloudant users and/or API - keys. + :param dict cloudant: Database permissions for Cloudant users, API keys or + both. :param SecurityObject admins: (optional) Schema for names and roles to map to a database permission. :param bool couchdb_auth_only: (optional) Manage permissions using the @@ -7217,8 +7217,8 @@ def put_security( :param str db: Path parameter to specify the database name. :param SecurityObject admins: (optional) Schema for names and roles to map to a database permission. - :param dict cloudant: (optional) Database permissions for Cloudant users - and/or API keys. + :param dict cloudant: (optional) Database permissions for Cloudant users, + API keys or both. :param bool couchdb_auth_only: (optional) Manage permissions using the `_users` database only. :param SecurityObject members: (optional) Schema for names and roles to map @@ -13767,8 +13767,8 @@ class ExplainResult: equality operators or create and use a partial index to reduce the number of documents that will need to be scanned. See [the Cloudant - Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of - all available combination and conditional operators. + Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list + of all available combination and conditional operators. For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax). :param List[SelectorHint] selector_hints: Schema for a list of objects with @@ -13838,7 +13838,7 @@ def __init__( conjunction with equality operators or create and use a partial index to reduce the number of documents that will need to be scanned. See [the Cloudant - Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a + Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available combination and conditional operators. For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax). @@ -14813,8 +14813,8 @@ class IndexDefinition: equality operators or create and use a partial index to reduce the number of documents that will need to be scanned. See [the Cloudant - Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of - all available combination and conditional operators. + Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list + of all available combination and conditional operators. For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax). """ @@ -14884,7 +14884,7 @@ def __init__( conjunction with equality operators or create and use a partial index to reduce the number of documents that will need to be scanned. See [the Cloudant - Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a + Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available combination and conditional operators. For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax). @@ -16497,8 +16497,8 @@ class ReplicationDocument: equality operators or create and use a partial index to reduce the number of documents that will need to be scanned. See [the Cloudant - Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of - all available combination and conditional operators. + Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list + of all available combination and conditional operators. For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax). :param str since_seq: (optional) Start the replication at a specific sequence @@ -16667,7 +16667,7 @@ def __init__( conjunction with equality operators or create and use a partial index to reduce the number of documents that will need to be scanned. See [the Cloudant - Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a + Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available combination and conditional operators. For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax). @@ -18720,8 +18720,8 @@ class Security: :param SecurityObject admins: (optional) Schema for names and roles to map to a database permission. - :param dict cloudant: (optional) Database permissions for Cloudant users and/or - API keys. + :param dict cloudant: (optional) Database permissions for Cloudant users, API + keys or both. :param bool couchdb_auth_only: (optional) Manage permissions using the `_users` database only. :param SecurityObject members: (optional) Schema for names and roles to map to a @@ -18741,8 +18741,8 @@ def __init__( :param SecurityObject admins: (optional) Schema for names and roles to map to a database permission. - :param dict cloudant: (optional) Database permissions for Cloudant users - and/or API keys. + :param dict cloudant: (optional) Database permissions for Cloudant users, + API keys or both. :param bool couchdb_auth_only: (optional) Manage permissions using the `_users` database only. :param SecurityObject members: (optional) Schema for names and roles to map @@ -18811,7 +18811,7 @@ def __ne__(self, other: 'Security') -> bool: class CloudantEnum(str, Enum): """ - Database permissions for Cloudant users and/or API keys. + Database permissions for Cloudant users, API keys or both. """ READER = '_reader' diff --git a/test/integration/test_cloudant_v1.py b/test/integration/test_cloudant_v1.py index 29ee803f..0fbb061a 100644 --- a/test/integration/test_cloudant_v1.py +++ b/test/integration/test_cloudant_v1.py @@ -1811,7 +1811,7 @@ def test_put_security(self): response = self.cloudant_service.put_security( db='testString', admins=security_object_model, - cloudant={'key1': ['_reader']}, + cloudant={'antsellseadespecteposene': ['_reader', '_writer', '_admin']}, couchdb_auth_only=True, members=security_object_model, )