code: def get_for_accounts(self, accounts: List[Account]):
          ''' Get all splits for the given accounts '''
          account_ids = [acc.guid for acc in accounts]
          query = (
              self.query
              .filter(Split.account_guid.in_(account_ids))
          )
          splits = query.all()
          return splitf get_for_accounts(self, accounts: List[Account]):
          ''' Get all splits for the given accounts '''
          account_ids = [acc.guid for acc in accounts]
          query = (
              self.query
              .filter(Split.account_guid.in_(account_ids))
          )
          splits = query.all()
          return splits
docs: Get all splits for the given accounts