<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_by_name(self, name: str) -> List[Account]: """ Searches accounts by name """

        # return self.query.filter(Account.name == name).all()
        return self.get_by_name_from(self.book.root, name)