def _get_indexed_value(self, key, error_type: Type[Exception]=RuntimeError):
    (real_key, index) = self._process_key(key, self._index, error_type)
    value = self._get_keyed_value(real_key, error_type=error_type)
    return self._index_value(key, value, index, error_type)
def _get_indexed_value(self, key, error_type: Type[Exception]=RuntimeError):
    (real_key, index) = self._process_key(key, self._index, error_type)
    value = self._get_keyed_value(real_key, error_type=error_type)
    return self._index_value(key, value, index, error_type)