src/pybel/io/graphdati.py
def to_graphdati(
    graph,
    *,
    use_identifiers: bool = True,
    skip_unqualified: bool = True,
    use_tqdm: bool = False,
    metadata_extras: Optional[Mapping[str, Any]] = None
) -> List[NanopubMapping]:
    """Export a GraphDati list using the nanopub.

    :param graph: A BEL graph
    :param use_identifiers: use OBO-style identifiers
    :param use_tqdm: Show a progress bar while generating nanopubs
    :param skip_unqualified: Should unqualified edges be output as nanopubs? Defaults to false.
    :param metadata_extras: Extra information to pass into the metadata part of nanopubs
    """
    return list(_iter_graphdati(
        graph,
        use_identifiers=use_identifiers,
        skip_unqualified=skip_unqualified,
        metadata_extras=metadata_extras,
        use_tqdm=use_tqdm,
    ))
Export a GraphDati list using the nanopub.

    :param graph: A BEL graph
    :param use_identifiers: use OBO-style identifiers
    :param use_tqdm: Show a progress bar while generating nanopubs
    :param skip_unqualified: Should unqualified edges be output as nanopubs? Defaults to false.
    :param metadata_extras: Extra information to pass into the metadata part of nanopubs
    
Export a GraphDati list using the nanopub.
Export a GraphDati list using the nanopub .
def to_graphdati(
    graph,
    *,
    use_identifiers: bool = True,
    skip_unqualified: bool = True,
    use_tqdm: bool = False,
    metadata_extras: Optional[Mapping[str, Any]] = None
) -> List[NanopubMapping]:
    return list(_iter_graphdati(
        graph,
        use_identifiers=use_identifiers,
        skip_unqualified=skip_unqualified,
        metadata_extras=metadata_extras,
        use_tqdm=use_tqdm,
    ))
def to_graphdati ( graph , * , use_identifiers : bool = True , skip_unqualified : bool = True , use_tqdm : bool = False , metadata_extras : Optional [ Mapping [ str , Any ] ] = None ) -> List [ NanopubMapping ] : return list ( _iter_graphdati ( graph , use_identifiers = use_identifiers , skip_unqualified = skip_unqualified , metadata_extras = metadata_extras , use_tqdm = use_tqdm , ) )
Export a GraphDati list using the nanopub.
Export a GraphDati list using the nanopub .
"""Export a GraphDati list using the nanopub.

    :param graph: A BEL graph
    :param use_identifiers: use OBO-style identifiers
    :param use_tqdm: Show a progress bar while generating nanopubs
    :param skip_unqualified: Should unqualified edges be output as nanopubs? Defaults to false.
    :param metadata_extras: Extra information to pass into the metadata part of nanopubs
    """
graph
A BEL graph
A BEL graph
use_identifiers
bool
use OBO-style identifiers
use OBO - style identifiers
skip_unqualified
bool
Should unqualified edges be output as nanopubs. Defaults to false.
Should unqualified edges be output as nanopubs . Defaults to false .
use_tqdm
bool
Show a progress bar while generating nanopubs
Show a progress bar while generating nanopubs
metadata_extras
Optional[Mapping[str, Any]]
Extra information to pass into the metadata part of nanopubs
Extra information to pass into the metadata part of nanopubs