MCPcopy Index your code
hub / github.com/couchbase/couchbase-python-client / _get

Method _get

couchbase/datastructures.py:917–931  ·  view source on GitHub ↗

Get the entire queuee.

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

Source from the content-addressed store, hash-verified

915 raise
916
917 def _get(self, parent_span: Optional[WrappedSpan] = None) -> List:
918 """
919 Get the entire queuee.
920 """
921 op_type = KeyValueOperationType.Get
922 with ObservableRequestHandler(op_type, self._impl.observability_instruments) as obs_handler:
923 req, transcoder = self._impl.request_builder.build_get_request(self._key,
924 obs_handler,
925 parent_span=parent_span)
926 return self._execute_op(self._impl.get,
927 req,
928 obs_handler,
929 parent_span=parent_span,
930 create_type=True,
931 transcoder=transcoder)
932
933 def push(self, value: JSONType) -> None:
934 """Adds a new item to the back of the queue.

Callers 1

__iter__Method · 0.95

Calls 3

_execute_opMethod · 0.95
build_get_requestMethod · 0.80

Tested by

no test coverage detected