class_docstr: Key binding registry.
code: def __init__(self):
      self.key_bindings = []
      self._get_bindings_for_keys_cache = SimpleCache(maxsize=10000)
      self._get_bindings_starting_with_keys_cache = SimpleCache(
          maxsize=1000
      )
      self._version = 0
  
imports: from __future__ import unicode_literals
  from abc import ABCMeta, abstractmethod
  from prompt_toolkit.cache import SimpleCache
  from prompt_toolkit.filters import CLIFilter, to_cli_filter, Never
  from prompt_toolkit.keys import Key, Keys
  from six import text_type, with_metaclass
label_desc: Use image node_id 1 to create a new Registry object from inherited base classes: BaseRegistry with example: obj = Registry()