def get(self, name: str) -> Optional[ListEntry]:
        """Return the named entry in the list tree.

        Args:
            name: The entry name.

        """
        parts = name.split(self._delimiter)
        try:
            node = self._find(self._root, *parts)
        except KeyError:
            return None
        else:
            marked = self._marked.get(name)
            return ListEntry(name, node.exists, marked, bool(node.children))
def get ( self , name : str ) -> Optional [ ListEntry ] : parts = name . split ( self . _delimiter ) try : node = self . _find ( self . _root , * parts ) except KeyError : return None else : marked = self . _marked . get ( name ) return ListEntry ( name , node . exists , marked , bool ( node . children ) )
Return the named entry in the list tree.

        Args:
            name: The entry name.