src/pybel/dsl/node_classes.py
def as_bel(self, use_identifiers: bool = True) -> str:
        """Return this reaction as a BEL string."""
        return 'rxn(reactants({}), products({}))'.format(
            _entity_list_as_bel(self.reactants, use_identifiers=use_identifiers),
            _entity_list_as_bel(self.products, use_identifiers=use_identifiers),
        )
Return this reaction as a BEL string.
Return this reaction as a BEL string.
Return this reaction as a BEL string .
def as_bel(self, use_identifiers: bool = True) -> str:
        return 'rxn(reactants({}), products({}))'.format(
            _entity_list_as_bel(self.reactants, use_identifiers=use_identifiers),
            _entity_list_as_bel(self.products, use_identifiers=use_identifiers),
        )
def as_bel ( self , use_identifiers : bool = True ) -> str : return 'rxn(reactants({}), products({}))' . format ( _entity_list_as_bel ( self . reactants , use_identifiers = use_identifiers ) , _entity_list_as_bel ( self . products , use_identifiers = use_identifiers ) , )
Return this reaction as a BEL string.
Return this reaction as a BEL string .
"""Return this reaction as a BEL string."""
self
use_identifiers
bool