src/pybel/struct/graph.py
def add_translation(self, rna: Rna, protein: Protein) -> str:
        """Add a translation relation from a RNA to a protein.

        :param rna: An RNA node
        :param protein: A protein node
        """
        return self.add_unqualified_edge(rna, protein, TRANSLATED_TO)
Add a translation relation from a RNA to a protein.

        :param rna: An RNA node
        :param protein: A protein node
        
Add a translation relation from a RNA to a protein.
Add a translation relation from a RNA to a protein .
def add_translation(self, rna: Rna, protein: Protein) -> str:
        return self.add_unqualified_edge(rna, protein, TRANSLATED_TO)
def add_translation ( self , rna : Rna , protein : Protein ) -> str : return self . add_unqualified_edge ( rna , protein , TRANSLATED_TO )
Add a translation relation from a RNA to a protein.
Add a translation relation from a RNA to a protein .
"""Add a translation relation from a RNA to a protein.

        :param rna: An RNA node
        :param protein: A protein node
        """
self
rna
Rna
An RNA node
An RNA node
protein
Protein
A protein node
A protein node