MCPcopy Create free account
hub / github.com/couchbase/couchbase-python-client / set_option

Method set_option

couchbase/logic/analytics.py:218–228  ·  view source on GitHub ↗

Set a raw option in the query. This option is encoded as part of the query parameters without any client-side verification. Use this for settings not directly exposed by the Python client. :param name: The name of the option :param value: The value o

(self, name, value)

Source from the content-addressed store, hash-verified

216 arg_array.extend(json_args)
217
218 def set_option(self, name, value):
219 """
220 Set a raw option in the query. This option is encoded
221 as part of the query parameters without any client-side
222 verification. Use this for settings not directly exposed
223 by the Python client.
224
225 :param name: The name of the option
226 :param value: The value of the option
227 """
228 self._params[name] = value
229
230 @property
231 def params(self):

Callers 8

timeoutMethod · 0.95
metricsMethod · 0.95
priorityMethod · 0.95
client_context_idMethod · 0.95
query_contextMethod · 0.95
rawMethod · 0.95
spanMethod · 0.95
parent_spanMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected