code: def _populate_relationships(self, rec_curr):
          
          for relationship_type, goids in rec_curr.relationship.items():
              parent_recs = set([self[goid] for goid in goids])
              rec_curr.relationship[relationship_type] = parent_recs
              for parent_rec in parent_recs:
                  if relationship_type not in parent_rec.relationship_rev:
                      parent_rec.relationship_rev[relationship_type] = set([rec_curr])
                  else:
                      parent_rec.relationship_rev[relationship_type].add(rec_curr)
docs: Convert GO IDs in relationships to GO Term record objects. Populate children.