src/pybel/io/indra.py
def to_indra_statements_json_file(graph, path: Union[str, TextIO], indent: Optional[int] = 2, **kwargs):
    """Export this graph as INDRA statement JSON.

    :param pybel.BELGraph graph: A BEL graph
    :param path: A writable file or file-like

    Other kwargs are passed to :func:`json.dump`.
    """
    json.dump(to_indra_statements_json(graph), path, indent=indent, **kwargs)
Export this graph as INDRA statement JSON.

    :param pybel.BELGraph graph: A BEL graph
    :param path: A writable file or file-like

    Other kwargs are passed to :func:`json.dump`.
    
Export this graph as INDRA statement JSON.
Export this graph as INDRA statement JSON .
def to_indra_statements_json_file(graph, path: Union[str, TextIO], indent: Optional[int] = 2, **kwargs):
    json.dump(to_indra_statements_json(graph), path, indent=indent, **kwargs)
def to_indra_statements_json_file ( graph , path : Union [ str , TextIO ] , indent : Optional [ int ] = 2 , ** kwargs ) : json . dump ( to_indra_statements_json ( graph ) , path , indent = indent , ** kwargs )
Export this graph as INDRA statement JSON.
Export this graph as INDRA statement JSON .
"""Export this graph as INDRA statement JSON.

    :param pybel.BELGraph graph: A BEL graph
    :param path: A writable file or file-like

    Other kwargs are passed to :func:`json.dump`.
    """
graph
A BEL graph
A BEL graph
path
Union[str, TextIO]
A writable file or file-like
Other kwargs are passed to :func:`json.dump`.
A writable file or file - like Other kwargs are passed to : func : ` json . dump ` .
indent
Optional[int]