temporian.load_graph #
load_graph(
path: str, squeeze: bool = False
) -> Tuple[
Union[EventSetNode, Dict[str, EventSetNode]],
Union[EventSetNode, Dict[str, EventSetNode]],
]
Loads a Temporian graph from a file.
See tp.save() and
tp.save_graph() for usage examples.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path |
str
|
File path to load from. |
required |
squeeze |
bool
|
If true, and if the input/output contains a single EventSetNode, returns an EventSetNode (instead of a dictionary of EventSetNodes). |
False
|
Returns:
| Type | Description |
|---|---|
Tuple[Union[EventSetNode, Dict[str, EventSetNode]], Union[EventSetNode, Dict[str, EventSetNode]]]
|
Input and output EventSetNodes. |