diff --git a/src/rougail/convert.py b/src/rougail/convert.py index 55cf1a18c..cb9137c11 100644 --- a/src/rougail/convert.py +++ b/src/rougail/convert.py @@ -84,6 +84,12 @@ class Property: ) -> None: self._properties.setdefault(path, {})[property_] = value + def get(self, path: str) -> None: + return self._properties.setdefault(path, {}) + + def remove(self, path: str, property_: str) -> None: + del self._properties[path][property_] + def __getitem__( self, path: str,