Retrieves the entire map. Returns: Dict[str, Any]: The entire CouchbaseMap.
(self)
| 584 | return list(map_.content_as[dict].values()) |
| 585 | |
| 586 | def get_all(self) -> Dict[str, Any]: |
| 587 | """Retrieves the entire map. |
| 588 | |
| 589 | Returns: |
| 590 | Dict[str, Any]: The entire CouchbaseMap. |
| 591 | """ |
| 592 | op_type = DatastructureOperationType.MapGetAll |
| 593 | with ObservableRequestHandler(op_type, self._impl.observability_instruments) as ds_obs_handler: |
| 594 | ds_obs_handler.create_kv_span(self._impl._request_builder._collection_dtls.get_details_as_dict()) |
| 595 | map_ = self._get(parent_span=ds_obs_handler.wrapped_span) |
| 596 | return map_.content_as[dict] |
| 597 | |
| 598 | def clear(self) -> None: |
| 599 | """Clears the map. |
nothing calls this directly
no test coverage detected