def get_splits_query(self):
        """ Returns the query for related splits """
        query = (
            self.book.session.query(Split)
            # .join(Transaction)
            .filter(Split.transaction_guid == self.transaction.guid)
        )
        return query
Returns the query for related splits