src/pybel/struct/summary/edge_summary.py
def iter_annotation_values(graph: BELGraph, annotation: str) -> Iterable[Entity]:
    """Iterate over all of the values for an annotation used in the graph.

    :param graph: A BEL graph
    :param annotation: The annotation to grab
    """
    return (
        entity
        for _, _, data in graph.edges(data=True)
        if edge_has_annotation(data, annotation)
        for entity in data[ANNOTATIONS][annotation]
    )
Iterate over all of the values for an annotation used in the graph.

    :param graph: A BEL graph
    :param annotation: The annotation to grab
    
Iterate over all of the values for an annotation used in the graph.
Iterate over all of the values for an annotation used in the graph .
def iter_annotation_values(graph: BELGraph, annotation: str) -> Iterable[Entity]:
    return (
        entity
        for _, _, data in graph.edges(data=True)
        if edge_has_annotation(data, annotation)
        for entity in data[ANNOTATIONS][annotation]
    )
def iter_annotation_values ( graph : BELGraph , annotation : str ) -> Iterable [ Entity ] : return ( entity for _ , _ , data in graph . edges ( data = True ) if edge_has_annotation ( data , annotation ) for entity in data [ ANNOTATIONS ] [ annotation ] )
Iterate over all of the values for an annotation used in the graph.
Iterate over all of the values for an annotation used in the graph .
"""Iterate over all of the values for an annotation used in the graph.

    :param graph: A BEL graph
    :param annotation: The annotation to grab
    """
graph
BELGraph
A BEL graph
A BEL graph
annotation
str
The annotation to grab
The annotation to grab