def __getitem__(self, key): v = lowlevel.get_property_value(self._osr, key) if v is None: raise KeyError() return v