code: def _associate_gene(self, cobra_gene):
          
          self._genes.add(cobra_gene)
          cobra_gene._reaction.add(self)
          cobra_gene._model = self._model
docs: Associates a cobra.Gene object with a cobra.Reaction.
  
          Parameters
          ----------
          cobra_gene : cobra.core.Gene.Gene