class_docstr: Dictionary-based Store core logic
class_docstr_tok: ["Dictionary-based","Store","core","logic"]
code: def __getitem__(self, key: Any) -> Any:
      try:
          value = super().__getitem__(key)
          return value
      except KeyError as e:
          if self._ddtype:
              return self._ddtype()
          raise e
  
imports: from __future__ import annotations
  from typing import Any
  from typing import Optional
  from typing import Type
  from ..node.credentials import SyftVerifyKey
  from ..serde.serializable import serializable
  from .document_store import DocumentStore
  from .document_store import StoreConfig
  from .kv_document_store import KeyValueBackingStore
  from .kv_document_store import KeyValueStorePartition
  from .locks import LockingConfig
  from .locks import ThreadingLockingConfig
label_desc: Use image node_id 2 for calling the DictBackingStore obj's underlying member method code with example usage: obj.__getitem__(key) and returns: value, self