Skip to content

Commit 0faed10

Browse files
committed
Update graph.py
1 parent f114601 commit 0faed10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/y0/graph.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def from_str_adj(
477477

478478
@classmethod
479479
@open_file(1) # type:ignore
480-
def from_causalfusion_path(cls, file) -> NxMixedGraph:
480+
def from_causalfusion_path(cls, file) -> NxMixedGraph: # type:ignore[no-untyped-def]
481481
"""Load a graph from a CausalFusion JSON file."""
482482
data = json.load(file)
483483
return cls.from_causalfusion_json(data)

0 commit comments

Comments
 (0)