Get the entire map.
(self, parent_span: Optional[WrappedSpan] = None)
| 414 | raise |
| 415 | |
| 416 | def _get(self, parent_span: Optional[WrappedSpan] = None) -> Dict[str, Any]: |
| 417 | """ |
| 418 | Get the entire map. |
| 419 | """ |
| 420 | op_type = KeyValueOperationType.Get |
| 421 | with ObservableRequestHandler(op_type, self._impl.observability_instruments) as obs_handler: |
| 422 | req, transcoder = self._impl.request_builder.build_get_request(self._key, |
| 423 | obs_handler, |
| 424 | parent_span=parent_span) |
| 425 | return self._execute_op(self._impl.get, |
| 426 | req, |
| 427 | obs_handler, |
| 428 | parent_span=parent_span, |
| 429 | create_type=True, |
| 430 | transcoder=transcoder) |
| 431 | |
| 432 | def add(self, mapkey: str, value: Any) -> None: |
| 433 | """Sets a specific key to the specified value in the map. |
no test coverage detected