A newer version of this documentation is available.

View Latest

Client Settings Using the Python SDK with Couchbase Server

    +

    The Python SDK may be configured using the connection string when instantiating a Bucket object.

    In addition to the connection string, the Bucket object offers a few object attributes which can be used to configure settings during runtime:

    • timeout for key-value operation timeouts (equivalent to operation_timeout in the connection string)

    • views_timeout to adjust the timeout for MapReduce queries

    • n1ql_timeout to adjust the timeout for N1QL querties

    Below follows the C settings section:

    Unresolved include directive in modules/ROOT/pages/client-settings.adoc - include::2.8@c-sdk::page$client-settings.adoc[]