src/pybel/io/sbel.py
def to_sbel_file(graph: BELGraph, path: Union[str, TextIO], separators=(',', ':'), **kwargs) -> None:
    """Write this graph as BEL JSONL to a file.

    :param graph: A BEL graph
    :param separators: The separators used in :func:`json.dumps`
    :param path: A path or file-like
    """
    for i in iterate_sbel(graph):
        print(json.dumps(i, ensure_ascii=False, separators=separators, **kwargs), file=path)
Write this graph as BEL JSONL to a file.

    :param graph: A BEL graph
    :param separators: The separators used in :func:`json.dumps`
    :param path: A path or file-like
    
Write this graph as BEL JSONL to a file.
Write this graph as BEL JSONL to a file .
def to_sbel_file(graph: BELGraph, path: Union[str, TextIO], separators=(',', ':'), **kwargs) -> None:
    for i in iterate_sbel(graph):
        print(json.dumps(i, ensure_ascii=False, separators=separators, **kwargs), file=path)
def to_sbel_file ( graph : BELGraph , path : Union [ str , TextIO ] , separators = ( ',' , ':' ) , ** kwargs ) -> None : for i in iterate_sbel ( graph ) : print ( json . dumps ( i , ensure_ascii = False , separators = separators , ** kwargs ) , file = path )
Write this graph as BEL JSONL to a file.
Write this graph as BEL JSONL to a file .
"""Write this graph as BEL JSONL to a file.

    :param graph: A BEL graph
    :param separators: The separators used in :func:`json.dumps`
    :param path: A path or file-like
    """
graph
BELGraph
A BEL graph
A BEL graph
path
Union[str, TextIO]
A path or file-like
A path or file - like
separators
The separators used in :func:`json.dumps`
The separators used in : func : ` json . dumps `