code: def init_datamembers(self, rec):
          
          # pylint: disable=multiple-statements
          if 'synonym'      in self.optional_attrs: rec.synonym = []
          if 'xref'         in self.optional_attrs: rec.xref = set()
          if 'subset'       in self.optional_attrs: rec.subset = set()
          if 'comment'      in self.optional_attrs: rec.comment = ""
          if 'relationship' in self.optional_attrs:
              rec.relationship = {}
              rec.relationship_rev = {}
docs: Initialize current GOTerm with data members for storing optional attributes.