src/pybel/struct/summary/edge_summary.py
def _annotation_iter_helper(graph: BELGraph) -> Iterable[str]:
    """Iterate over the annotation keys.

    :param graph: A BEL graph
    """
    return (
        key
        for _, _, data in graph.edges(data=True)
        if ANNOTATIONS in data
        for key in data[ANNOTATIONS]
    )
Iterate over the annotation keys.

    :param graph: A BEL graph
    
Iterate over the annotation keys.
Iterate over the annotation keys .
def _annotation_iter_helper(graph: BELGraph) -> Iterable[str]:
    return (
        key
        for _, _, data in graph.edges(data=True)
        if ANNOTATIONS in data
        for key in data[ANNOTATIONS]
    )
def _annotation_iter_helper ( graph : BELGraph ) -> Iterable [ str ] : return ( key for _ , _ , data in graph . edges ( data = True ) if ANNOTATIONS in data for key in data [ ANNOTATIONS ] )
Iterate over the annotation keys.
Iterate over the annotation keys .
"""Iterate over the annotation keys.

    :param graph: A BEL graph
    """
graph
BELGraph
A BEL graph
A BEL graph