Retrieves the entire map. :return: The entire CouchbaseMap
(self)
| 604 | return list(map_.content_as[dict].values()) |
| 605 | |
| 606 | async def get_all(self) -> List[Any]: |
| 607 | """ |
| 608 | Retrieves the entire map. |
| 609 | |
| 610 | :return: The entire CouchbaseMap |
| 611 | """ |
| 612 | op_type = DatastructureOperationType.MapGetAll |
| 613 | async with ObservableRequestHandler(op_type, self._impl.observability_instruments) as ds_obs_handler: |
| 614 | ds_obs_handler.create_kv_span(self._impl._request_builder._collection_dtls.get_details_as_dict()) |
| 615 | map_ = await self._get(parent_span=ds_obs_handler.wrapped_span) |
| 616 | return map_.content_as[dict] |
| 617 | |
| 618 | async def clear(self) -> None: |
| 619 | """ |