Skip to content

Commit

Permalink
🐏 feat: add default value for graph input
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsaki committed Feb 11, 2025
1 parent fba76c5 commit 39a0de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/defigraph/Graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


class Graph:
def __init__(self, edges: List[Edge]) -> None:
def __init__(self, edges: List[Edge] = []) -> None:
self.vertices: List[Vertex] = []
self.adjascency_list: Dict[Vertex, List[Edge]] = {}

Expand Down

0 comments on commit 39a0de5

Please sign in to comment.