diff --git a/masque/library.py b/masque/library.py index 615da86..e121636 100644 --- a/masque/library.py +++ b/masque/library.py @@ -1034,6 +1034,12 @@ class Tree(MutableLibrary): def __delitem__(self, key: str) -> None: del self.library[key] + def __repr__(self) -> str: + return f'' + + def _merge(self, key_self: str, other: Mapping[str, 'Pattern'], key_other: str) -> None: + self.library._merge(key_self, other, key_other) + def _rename_patterns(lib: Library, name: str) -> str: # TODO document rename function