def _get_keyed_value(self, key, error_type: Type[Exception]=RuntimeError):
    value = self._obj.get(key, None)
    if (value is None):
        value = self._obj.get((key + 's'), None)
        if (value is None):
            raise error_type(f'No entry named {self._prefix}{key}')
    return value
def _get_keyed_value(self, key, error_type: Type[Exception]=RuntimeError):
    value = self._obj.get(key, None)
    if (value is None):
        value = self._obj.get((key + 's'), None)
        if (value is None):
            raise error_type(f'No entry named {self._prefix}{key}')
    return value