def get_all(self) -> List[Account]:
        """ Returns all book accounts as a list, excluding templates. """
        return [account for account in self.book.accounts if account.parent.name != "Template Root"]
def get_all ( self ) -> List [ Account ] : return [ account for account in self . book . accounts if account . parent . name != "Template Root" ]
Returns all book accounts as a list, excluding templates.