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