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

Method values

acouchbase/datastructures.py:864–874  ·  view source on GitHub ↗

Returns a list of all the values which exist in the set. :return: The keys in CouchbaseSet

(self)

Source from the content-addressed store, hash-verified

862 pass
863
864 async def values(self) -> List[Any]:
865 """
866 Returns a list of all the values which exist in the set.
867
868 :return: The keys in CouchbaseSet
869 """
870 op_type = DatastructureOperationType.SetValues
871 async with ObservableRequestHandler(op_type, self._impl.observability_instruments) as ds_obs_handler:
872 ds_obs_handler.create_kv_span(self._impl._request_builder._collection_dtls.get_details_as_dict())
873 list_ = await self._get(parent_span=ds_obs_handler.wrapped_span)
874 return list_.content_as[list]
875
876
877class CouchbaseQueue:

Callers

nothing calls this directly

Calls 4

_getMethod · 0.95
get_details_as_dictMethod · 0.80
create_kv_spanMethod · 0.45

Tested by

no test coverage detected