src/pybel/io/graphdati.py
def from_graphdati_file(path: Union[str, TextIO]) -> BELGraph:
    """Load a file containing GraphDati JSON.

    :param path: A path or file-like
    """
    return from_graphdati(json.load(path))
Load a file containing GraphDati JSON.

    :param path: A path or file-like
    
Load a file containing GraphDati JSON.
Load a file containing GraphDati JSON .
def from_graphdati_file(path: Union[str, TextIO]) -> BELGraph:
    return from_graphdati(json.load(path))
def from_graphdati_file ( path : Union [ str , TextIO ] ) -> BELGraph : return from_graphdati ( json . load ( path ) )
Load a file containing GraphDati JSON.
Load a file containing GraphDati JSON .
"""Load a file containing GraphDati JSON.

    :param path: A path or file-like
    """
path
Union[str, TextIO]
A path or file-like
A path or file - like