def METHOD_NAME(self, rows):
    for row in rows:
        if isinstance(row, BuildRequest):
            self.reqs[row.id] = row
        if isinstance(row, BuildRequestClaim):
            self.claims[row.brid] = row