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

    :param graph: A BEL graph
    :param separators: The separators used in :func:`json.dumps`
    :param path: A path for a gzip file
    """
    with gzip.open(path, 'wt') as file:
        to_sbel_file(graph, file, separators=separators, **kwargs)
Write a graph as BEL JSONL to a gzip file.

    :param graph: A BEL graph
    :param separators: The separators used in :func:`json.dumps`
    :param path: A path for a gzip file
    
Write a graph as BEL JSONL to a gzip file.
Write a graph as BEL JSONL to a gzip file .
def to_sbel_gz(graph: BELGraph, path: str, separators=(',', ':'), **kwargs) -> None:
    with gzip.open(path, 'wt') as file:
        to_sbel_file(graph, file, separators=separators, **kwargs)
def to_sbel_gz ( graph : BELGraph , path : str , separators = ( ',' , ':' ) , ** kwargs ) -> None : with gzip . open ( path , 'wt' ) as file : to_sbel_file ( graph , file , separators = separators , ** kwargs )
Write a graph as BEL JSONL to a gzip file.
Write a graph as BEL JSONL to a gzip file .
"""Write a graph as BEL JSONL to a gzip file.

    :param graph: A BEL graph
    :param separators: The separators used in :func:`json.dumps`
    :param path: A path for a gzip file
    """
graph
BELGraph
A BEL graph
A BEL graph
path
str
A path for a gzip file
A path for a gzip file
separators
The separators used in :func:`json.dumps`
The separators used in : func : ` json . dumps `