code: def fill_relationshipgo2obj(self, goobj):
          
          for reltyp, relgoobjs in goobj.relationship.items():
              if reltyp in self.relationships:
                  for relgoobj in relgoobjs:
                      if relgoobj.id not in self.go2obj:
                          self.go2obj[relgoobj.id] = relgoobj
                          self.fill_relationshipgo2obj(relgoobj)
docs: Fill go2obj with all relationship key GO IDs and their objects.