def pop(self, identifier, default=None):
        if identifier in self.children:
            item = self[identifier]
            self.__delitem__(identifier)
            return item
        else:
            return default
dataset/ETHPy150Open ioam/holoviews/holoviews/core/tree.py/AttrTree.pop/original