code: def get_ops(self, key):
          ''' Returns ops from the key if found otherwise raises a KeyError.
          '''
          ops = self._store.get(key)
          if ops is None:
              raise KeyError(
                  'cannot get operations for {}'.format(key))
          return opf get_ops(self, key):
          ''' Returns ops from the key if found otherwise raises a KeyError.
          '''
          ops = self._store.get(key)
          if ops is None:
              raise KeyError(
                  'cannot get operations for {}'.format(key))
          return ops
docs: Returns ops from the key if found otherwise raises a KeyError.