def delete(self, remove_orphans=False):
warn("<STR_LIT>",<EOL>DeprecationWarning)<EOL>self.remove_from_model(remove_orphans=remove_orphans)<EOL>
Removes the reaction from a model.

        This removes all associations between a reaction the associated
        model, metabolites and genes.

        The change is reverted upon exit when using the model as a context.

        Deprecated, use `reaction.remove_from_model` instead.

        Parameters
        ----------
        remove_orphans : bool
            Remove orphaned genes and metabolites from the model as well