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

Method _get

acouchbase/datastructures.py:420–433  ·  view source on GitHub ↗

Get the entire map.

(self, parent_span: Optional[WrappedSpan] = None)

Source from the content-addressed store, hash-verified

418 raise
419
420 async def _get(self, parent_span: Optional[WrappedSpan] = None) -> Dict:
421 """
422 Get the entire map.
423 """
424 op_type = KeyValueOperationType.Get
425 async with ObservableRequestHandler(op_type, self._impl.observability_instruments) as obs_handler:
426 req, transcoder = self._impl.request_builder.build_get_request(
427 self._key, obs_handler, parent_span=parent_span)
428 return await self._execute_op(self._impl.get,
429 req,
430 obs_handler,
431 parent_span,
432 create_type=True,
433 transcoder=transcoder)
434
435 async def add(self, mapkey: str, value: Any) -> None:
436 """

Callers 4

keysMethod · 0.95
valuesMethod · 0.95
get_allMethod · 0.95
itemsMethod · 0.95

Calls 3

_execute_opMethod · 0.95
build_get_requestMethod · 0.80

Tested by

no test coverage detected