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

Method consistency

couchbase/logic/views.py:232–239  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

230
231 @property
232 def consistency(self) -> ViewScanConsistency:
233 value = self._params.get(
234 'scan_consistency', None
235 )
236 if value is None:
237 return ViewScanConsistency.NOT_BOUNDED
238 if isinstance(value, str):
239 return ViewScanConsistency.from_str(value)
240
241 @consistency.setter
242 def consistency(self, value # type: Union[ViewScanConsistency, str]

Callers

nothing calls this directly

Calls 6

set_optionMethod · 0.95
ViewScanConsistencyClass · 0.85
getMethod · 0.45
from_strMethod · 0.45
to_strMethod · 0.45

Tested by

no test coverage detected