src/pybel/io/cx.py
def from_cx_file(path: Union[str, TextIO]) -> BELGraph:
    """Read a file containing CX JSON and converts to a BEL graph.

    :param path: A readable file or file-like containing the CX JSON for this graph
    :return: A BEL Graph representing the CX graph contained in the file
    """
    return from_cx(json.load(path))
Read a file containing CX JSON and converts to a BEL graph.

    :param path: A readable file or file-like containing the CX JSON for this graph
    :return: A BEL Graph representing the CX graph contained in the file
    
Read a file containing CX JSON and converts to a BEL graph.
Read a file containing CX JSON and converts to a BEL graph .
def from_cx_file(path: Union[str, TextIO]) -> BELGraph:
    return from_cx(json.load(path))
def from_cx_file ( path : Union [ str , TextIO ] ) -> BELGraph : return from_cx ( json . load ( path ) )
Read a file containing CX JSON and converts to a BEL graph.
Read a file containing CX JSON and converts to a BEL graph .
"""Read a file containing CX JSON and converts to a BEL graph.

    :param path: A readable file or file-like containing the CX JSON for this graph
    :return: A BEL Graph representing the CX graph contained in the file
    """
A BEL Graph representing the CX graph contained in the file
A BEL Graph representing the CX graph contained in the file
path
Union[str, TextIO]
A readable file or file-like containing the CX JSON for this graph
A readable file or file - like containing the CX JSON for this graph