<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_splits_query(self):
 """ Returns all the splits in the account """

        query = (
            self.book.session.query(Split)
            .filter(Split.account == self.account)
        )
        return query